Ticket #1061 (closed defect: fixed)

Opened 3 years ago

Last modified 17 months ago

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

comment:1 Changed 3 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 3 years ago by szabgab

  • Component changed from plugins to Integrated Version Control

comment:3 Changed 2 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 17 months ago by bowtie

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

comment:5 Changed 17 months ago by bowtie

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