aboutsummaryrefslogtreecommitdiffstats
path: root/stagit-index.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2021-05-05 19:15:58 +0200
committerHiltjo Posthuma <[email protected]>2021-05-05 19:15:58 +0200
commitc827ab1b1dee13e512f8ae24aa824879d547d0db (patch)
treefdb73af83f35d379e3d8c8f45e7308c196e928a9 /stagit-index.c
parent727e02be6c6aaafd929341963465bf6e1ff2947d (diff)
downloadstagit-c827ab1b1dee13e512f8ae24aa824879d547d0db.tar.gz
stagit-c827ab1b1dee13e512f8ae24aa824879d547d0db.zip
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!
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c1
1 files changed, 0 insertions, 1 deletions
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)) {