summaryrefslogtreecommitdiff
path: root/fetch-negotiator.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-06-14 15:54:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-15 08:44:24 -0700
commitd093bc7582fc60b51b42d2edf32b3ce68cd283eb (patch)
tree3f9c629aa1b82d5dd78ad880fbae602469c14619 /fetch-negotiator.c
parentfetch-pack: make negotiation-related vars local (diff)
downloadtgif-d093bc7582fc60b51b42d2edf32b3ce68cd283eb.tar.xz
fetch-pack: move common check and marking together
When receiving 'ACK <object-id> continue' for a common commit, check if the commit was already known to be common and mark it as such if not up front. This should make future refactoring of how the information about common commits is stored more straightforward. No visible change intended. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-negotiator.c')
0 files changed, 0 insertions, 0 deletions