summaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2016-11-10 16:13:28 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-11-11 09:36:23 -0800
commit6cc823c5c15911b27a410cfd47abc81cc10c0003 (patch)
tree1e0702ed382438e161d7a5e335a15cc92a5217b5 /diffcore-delta.c
parentGit 2.8.4 (diff)
downloadtgif-6cc823c5c15911b27a410cfd47abc81cc10c0003.tar.xz
fetch: do not redundantly calculate tag refmap
builtin/fetch.c redundantly calculates refmaps for tags twice. Remove the first calculation. This is only a code simplification and slight performance improvement - the result is unchanged, as the redundant refmaps are subsequently removed by the invocation to "ref_remove_duplicates" anyway. This was introduced in commit c5a84e9 ("fetch --tags: fetch tags *in addition to* other stuff", 2013-10-29) when modifying the effect of the --tags parameter to "git fetch". The refmap-for-tag calculation was copied instead of moved. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions