]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-log.c
Fix parent rewriting in --early-output
[thirdparty/git.git] / builtin-log.c
index d6845bc7f8363ccba67aa436e872962195e3e9b5..54ddaad0eccedd74be349d208fecb9a87b143047 100644 (file)
@@ -89,7 +89,7 @@ static int estimate_commit_count(struct rev_info *rev, struct commit_list *list)
                struct commit *commit = list->item;
                unsigned int flags = commit->object.flags;
                list = list->next;
-               if ((flags & TREECHANGE) && !(flags & UNINTERESTING))
+               if (!(flags & (TREESAME | UNINTERESTING)))
                        n++;
        }
        return n;