1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 13:57:54 +01:00
git/perl
Lea Wiemann 32d8050a86 Git.pm: fix return value of config method
If config is called in array context, it is supposed to return all
values set for the given option key.  This works for all cases except
if there is no value set at all.  In that case, it wrongly returns
(undef) instead of ().  This fixes the return statement so that it
returns undef in scalar context but an empty array in array context.

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-06-01 22:28:27 -07:00
..
.gitignore Make perl/ build procedure ActiveState friendly. 2006-12-04 13:39:32 -08:00
Git.pm Git.pm: fix return value of config method 2008-06-01 22:28:27 -07:00
Makefile War on whitespace 2007-06-07 00:04:01 -07:00
Makefile.PL Don't cache DESTDIR in perl/perl.mak. 2007-12-11 00:38:46 -08:00
private-Error.pm Assorted typo fixes 2007-02-03 21:49:54 -08:00