summaryrefslogtreecommitdiff
path: root/Documentation/technical/api-parse-options.txt
diff options
context:
space:
mode:
authorLibravatar Matthijs Kooijman <matthijs@stdin.nl>2013-07-11 13:25:52 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-15 10:49:42 -0700
commit4b796951ffca7c0aa9e05d62d6d16a3c689b7f25 (patch)
tree3ed9fdedd170b50f828953a42df5ac51929fdd8e /Documentation/technical/api-parse-options.txt
parentMerge branch 'nd/fetch-depth-is-broken' (diff)
downloadtgif-4b796951ffca7c0aa9e05d62d6d16a3c689b7f25.tar.xz
upload-pack: remove a piece of dead code
Commit 682c7d2 (upload-pack: fix off-by-one depth calculation in shallow clone) introduced a new check in get_shallow_commits to decide when to stop traversing the history and mark the current commit as a shallow root. With this new check in place, the old check can no longer be true, since the first check always fires first. This commit removes that check, making the code a bit more simple again. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-parse-options.txt')
0 files changed, 0 insertions, 0 deletions