Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix parent rewriting in --early-output
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index d6845bc7f8363ccba67aa436e872962195e3e9b5..54ddaad0eccedd74be349d208fecb9a87b143047 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-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;