Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-11-11 23:34:41 +0300
committerJunio C Hamano <gitster@pobox.com>2021-11-11 23:34:41 +0300
commita7df4f52affe49f6b06246b9398e99e1937f9efc (patch)
treef39ce03ff26107290c0921726586dba2c1144198 /connected.c
parentf559d6d45e7e58ae1f922213948723de77ea77bd (diff)
Revert "connected: do not sort input revisions"
This reverts commit f45022dc2fd692fd024f2eb41a86a66f19013d43, as this is like breakage in the traversal more likely. In a history with 10 single strand of pearls, 1-->2-->3--...->7-->8-->9-->10 asking "rev-list --unsorted-input 1 10 --not 9 8 7 6 5 4" fails to paint the bottom 1 uninteresting as the traversal stops, without completing the propagation of uninteresting bit starting at 4 down through 3 and 2 to 1.
Diffstat (limited to 'connected.c')
-rw-r--r--connected.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/connected.c b/connected.c
index b5f9523a5f..b18299fdf0 100644
--- a/connected.c
+++ b/connected.c
@@ -106,7 +106,6 @@ no_promisor_pack_found:
if (opt->progress)
strvec_pushf(&rev_list.args, "--progress=%s",
_("Checking connectivity"));
- strvec_push(&rev_list.args, "--unsorted-input");
rev_list.git_cmd = 1;
rev_list.env = opt->env;