Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: use bitmaps when packing objects
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 0173e0148b850bd1a3e2e7e5c652050ade6d5ba4..cddd6051e307cf5455e41cdd404008d5a1967f84 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-779,6
+779,10
@@
static int add_parents_to_list(struct rev_info *revs, struct commit *commit,
return 0;
commit->object.flags |= ADDED;
+ if (revs->include_check &&
+ !revs->include_check(commit, revs->include_check_data))
+ return 0;
+
/*
* If the commit is uninteresting, don't try to
* prune parents - we want the maximal uninteresting