From a7df4f52affe49f6b06246b9398e99e1937f9efc Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 11 Nov 2021 12:34:41 -0800 Subject: 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. --- connected.c | 1 - 1 file changed, 1 deletion(-) (limited to 'connected.c') 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; -- cgit v1.2.3