From c827ab1b1dee13e512f8ae24aa824879d547d0db Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 5 May 2021 19:15:58 +0200 Subject: do not simplify the history by first-parent Reference: https://libgit2.org/libgit2/#HEAD/group/revwalk/git_revwalk_simplify_first_parent Noticed on merge commits on: https://git.simple-cc.org/scc/ Reported by quinq, thanks! --- stagit-index.c | 1 - 1 file changed, 1 deletion(-) (limited to 'stagit-index.c') diff --git a/stagit-index.c b/stagit-index.c index 11a6017..84785a9 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -101,7 +101,6 @@ writelog(FILE *fp) git_revwalk_new(&w, repo); git_revwalk_push_head(w); - git_revwalk_simplify_first_parent(w); if (git_revwalk_next(&id, w) || git_commit_lookup(&commit, repo, &id)) { -- cgit v1.2.3