1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-08 18:23:01 +01:00
git/perl
Junio C Hamano d683a0e00c Git::cat_blob: allow using an empty blob to fix git-svn breakage
Recent "git-svn optimization" series introduced Git::cat_blob() subroutine
whose interface was broken in that it returned the size of the blob but
signalled an error by returning 0.  You can never use an empty blob with
such an interface.

This fixes the interface to return a negative value to signal an error.

Reported by Björn Steinbrink.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-05-27 23:35:55 -07:00
..
.gitignore
Git.pm Git::cat_blob: allow using an empty blob to fix git-svn breakage 2008-05-27 23:35:55 -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