We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a278aa6 + 64abcc4 commit 6aa2064Copy full SHA for 6aa2064
1 file changed
perl/Git.pm
@@ -172,7 +172,7 @@ sub repository {
172
}
173
174
if (defined $opts{Directory}) {
175
- -d $opts{Directory} or throw Error::Simple("Directory not found: $!");
+ -d $opts{Directory} or throw Error::Simple("Directory not found: $opts{Directory} $!");
176
177
my $search = Git->repository(WorkingCopy => $opts{Directory});
178
my $dir;
@@ -545,7 +545,7 @@ sub wc_chdir {
545
or throw Error::Simple("bare repository");
546
547
-d $self->wc_path().'/'.$subdir
548
- or throw Error::Simple("subdir not found: $!");
+ or throw Error::Simple("subdir not found: $subdir $!");
549
# Of course we will not "hold" the subdirectory so anyone
550
# can delete it now and we will never know. But at least we tried.
551
0 commit comments