author | Philippe Bruhat (BooK) <book@cpan.org> | |
Thu, 17 Jun 2010 23:47:31 +0000 (01:47 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 18 Jun 2010 15:49:03 +0000 (08:49 -0700) | ||
commit | 64abcc48447a976884e74a1efd866a21e06ddeec | |
tree | ca339316862ea76983e3be0798ef80b77bcd1143 | tree | snapshot |
parent | 74e42ce122bfcbd2e1a06395b80d6a4b44580148 | commit | diff |
Git.pm: better error message
Provide the bad directory name alongside with $!
Note: $! is set if there is "No such file or directory",
but isn't set if the file exists but is not a directory.
Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Provide the bad directory name alongside with $!
Note: $! is set if there is "No such file or directory",
but isn't set if the file exists but is not a directory.
Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm | diff | blob | history |