From: Junio C Hamano Date: Thu, 3 Nov 2011 19:15:08 +0000 (-0700) Subject: receive-pack: do not expect object 0{40} to exist X-Git-Tag: v1.7.8-rc1~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ee6dfb2d83ba1b057943e705f707fa27e34e47f9?ds=inline;hp=ee6dfb2d83ba1b057943e705f707fa27e34e47f9 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 ---