summaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2013-12-11 08:46:05 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-12 11:53:48 -0800
commit500a04f196d90ef3a426ff63f76b44df479efc7d (patch)
tree905250d9dc540957a1c2197da0f83b3b07899b38 /fetch-pack.c
parentrename READ_SHA1_FILE_REPLACE flag to LOOKUP_REPLACE_OBJECT (diff)
downloadtgif-500a04f196d90ef3a426ff63f76b44df479efc7d.tar.xz
replace_object: don't check read_replace_refs twice
Since e1111cef (inline lookup_replace_object() calls, May 15 2011) the read_replace_refs global variable is checked twice, once in lookup_replace_object() and once again in do_lookup_replace_object(). As do_lookup_replace_object() is called only from lookup_replace_object(), we can remove the check in do_lookup_replace_object(). Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions