Opened 4 years ago

Closed 2 years ago

Last modified 23 months ago

#1061 closed defect (fixed)

Padre::Plugin::Git crash when doing of file/dir with a working directory that is not under version control by git

Reported by: zenogantner Owned by:
Priority: critical Milestone:
Component: plugins Version: 0.74
Keywords: Cc:

Description

How to reproduce:

  1. Start Padre
  2. Activate git plugin
  3. Ensure that project directory is not under version control by git
  4. Select Tools -> Git -> Diff ... -> Diff of File (or Dir)

Result:
Padre aborts with

fileparse(): need a valid pathname at /usr/local/share/perl/5.10.1/Padre/Plugin/Git.pm line 314

Change History (5)

comment:1 Changed 4 years ago by zenogantner

Same for Tools -> Git -> Status -> Directory Status

fileparse(): need a valid pathname at /usr/local/share/perl/5.10.1/Padre/Plugin/Git.pm line 287

comment:2 Changed 4 years ago by szabgab

  • Component changed from plugins to Integrated Version Control

comment:3 Changed 3 years ago by bowtie

  • Summary changed from [git plugin] crash when doing of file/dir with a working directory that is not under version control by git to Padre::Plugin::Git crash when doing of file/dir with a working directory that is not under version control by git

comment:4 Changed 2 years ago by bowtie

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 23 months ago by bowtie

  • Component changed from Integrated Version Control to plugins
Note: See TracTickets for help on using tickets.