From 3cc5ec94f8d4753d00e7c407d0033187fe79eb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 5 Oct 2016 12:57:53 +0200 Subject: [PATCH] rebase: don't ask for time sorting `git-rebase--merge` does not ask for time sorting, but uses the default. We now produce the same default time-ordered output as git, so make us of that since it's not always the same output as our time sorting. --- src/rebase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebase.c b/src/rebase.c index 470e62a23..e86312e7e 100644 --- a/src/rebase.c +++ b/src/rebase.c @@ -586,7 +586,7 @@ static int rebase_init_operations( (error = git_revwalk_hide(revwalk, git_annotated_commit_id(upstream))) < 0) goto done; - git_revwalk_sorting(revwalk, GIT_SORT_REVERSE | GIT_SORT_TIME); + git_revwalk_sorting(revwalk, GIT_SORT_REVERSE); while ((error = git_revwalk_next(&id, revwalk)) == 0) { if ((error = git_commit_lookup(&commit, repo, &id)) < 0)