summaryrefslogtreecommitdiff
path: root/builtin/fsck.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-11-03 12:15:08 -0700
committerJunio C Hamano <gitster@pobox.com>2011-11-03 14:27:04 -0700
commitee6dfb2d83ba1b057943e705f707fa27e34e47f9 (patch)
tree538d0e0e2f1cf2e8586bfc671ca61dbea70f5d46 /builtin/fsck.c
parentdb85b3a74fd1c50f007c198e4dc7265fdc1f2749 (diff)
downloadgit-ee6dfb2d83ba1b057943e705f707fa27e34e47f9.tar.gz
receive-pack: do not expect object 0{40} to exist
When pushing to delete a ref, it uses 0{40} as an object name to signal that the request is a deletion. We shouldn't trigger "deletion of a corrupt ref" warning in such a case, which was designed to notice that a ref points at an object that is truly missing from the repository. Reported-by: Stefan Näwe Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fsck.c')
0 files changed, 0 insertions, 0 deletions