Git.pm: better error message
authorPhilippe Bruhat (BooK) <book@cpan.org>
Thu, 17 Jun 2010 23:47:31 +0000 (01:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jun 2010 15:49:03 +0000 (08:49 -0700)
commit64abcc48447a976884e74a1efd866a21e06ddeec
treeca339316862ea76983e3be0798ef80b77bcd1143
parent74e42ce122bfcbd2e1a06395b80d6a4b44580148
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>
perl/Git.pm