Git.pm: correctly handle directory name that evaluates to "false"
authorPhilippe Bruhat (BooK) <book@cpan.org>
Mon, 29 Dec 2008 00:25:00 +0000 (01:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Jan 2009 14:34:58 +0000 (06:34 -0800)
commit11b8a41c4569e99a57137cb2db4b642b57171797
treea694a687c88e0107ae3d17c1c9069d5c7a5a7cca
parentd99bf51add655b749c5c7f94cecb337c7ef8aadb
Git.pm: correctly handle directory name that evaluates to "false"

The repository constructor mistakenly rewrote a Directory parameter that
Perl happens to evaluate to false (e.g. "0") to ".".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm