URI: 
       do not simplify the history by first-parent - stagit-gopher - A git gopher frontend. (mirror)
  HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit d02b5f776a63c8b808baa548b2cd574439bed547
   DIR parent f15e44cac3916d75969bbc56b3c2162b351e3d32
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Wed,  5 May 2021 19:20:21 +0200
       
       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:
         M stagit-gopher-index.c               |       1 -
         M stagit-gopher.c                     |       2 --
       
       2 files changed, 0 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c
       @@ -186,7 +186,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)) {
   DIR diff --git a/stagit-gopher.c b/stagit-gopher.c
       @@ -836,7 +836,6 @@ writelog(FILE *fp, const git_oid *oid)
        
                git_revwalk_new(&w, repo);
                git_revwalk_push(w, oid);
       -        git_revwalk_simplify_first_parent(w);
        
                while (!git_revwalk_next(&id, w)) {
                        if (cachefile && !memcmp(&id, &lastoid, sizeof(id)))
       @@ -966,7 +965,6 @@ writeatom(FILE *fp, int all)
                if (all) {
                        git_revwalk_new(&w, repo);
                        git_revwalk_push_head(w);
       -                git_revwalk_simplify_first_parent(w);
                        for (i = 0; i < m && !git_revwalk_next(&id, w); i++) {
                                if (!(ci = commitinfo_getbyoid(&id)))
                                        break;