summaryrefslogtreecommitdiff
path: root/fetch-negotiator.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-06-14 22:54:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-15 15:44:24 (GMT)
commitd093bc7582fc60b51b42d2edf32b3ce68cd283eb (patch)
tree3f9c629aa1b82d5dd78ad880fbae602469c14619 /fetch-negotiator.c
parentd30fe89c37b746ac2f3419ae0e3990a9984fb4cf (diff)
downloadgit-d093bc7582fc60b51b42d2edf32b3ce68cd283eb.zip
git-d093bc7582fc60b51b42d2edf32b3ce68cd283eb.tar.gz
git-d093bc7582fc60b51b42d2edf32b3ce68cd283eb.tar.bz2
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