summaryrefslogtreecommitdiffstats
path: root/pager.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-28 08:33:22 +0200
committerJunio C Hamano <gitster@pobox.com>2008-05-28 08:35:55 +0200
commitd683a0e00cd4734b4fab704baef1ee76205722be (patch)
tree5bd68609cb1d489f83455bda25200d4050415fd7 /pager.c
parentt5100: Avoid filename "nul" (diff)
downloadgit-d683a0e00cd4734b4fab704baef1ee76205722be.tar.xz
git-d683a0e00cd4734b4fab704baef1ee76205722be.zip
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>
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions