]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/receive-pack.c
receive-pack: do not reuse old_sha1[] for other things
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Aug 2014 21:26:17 +0000 (14:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2014 20:23:18 +0000 (13:23 -0700)
commitc09b71ccc45f4be3acca5e809a18a000cae09faf
tree2e9bb24d66d096356a792db18b12cf995bb6cff1
parent0e3c339bb69670b39161838de17f440480e1358a
receive-pack: do not reuse old_sha1[] for other things

This piece of code reads object names of shallow boundaries, not
old_sha1[], i.e. the current value the ref points at, which is to be
replaced by what is in new_sha1[].

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c