File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ sub repository {
172
172
}
173
173
174
174
if (defined $opts {Directory }) {
175
- -d $opts {Directory } or throw Error::Simple(" Directory not found: $! " );
175
+ -d $opts {Directory } or throw Error::Simple(" Directory not found: $opts {Directory} $ !" );
176
176
177
177
my $search = Git-> repository(WorkingCopy => $opts {Directory });
178
178
my $dir ;
@@ -545,7 +545,7 @@ sub wc_chdir {
545
545
or throw Error::Simple(" bare repository" );
546
546
547
547
-d $self -> wc_path().' /' .$subdir
548
- or throw Error::Simple(" subdir not found: $! " );
548
+ or throw Error::Simple(" subdir not found: $subdir $ !" );
549
549
# Of course we will not "hold" the subdirectory so anyone
550
550
# can delete it now and we will never know. But at least we tried.
551
551
You can’t perform that action at this time.
0 commit comments