Merge branch 'jz/rev-list-exclude-first-parent-only'
"git log" and friends learned an option --exclude-first-parent-only to propagate UNINTERESTING bit down only along the first-parent chain, just like --first-parent option shows commits that lack the UNINTERESTING bit only along the first-parent chain. * jz/rev-list-exclude-first-parent-only: git-rev-list: add --exclude-first-parent-only flag
This commit is contained in:
@ -158,6 +158,7 @@ struct rev_info {
|
||||
bisect:1,
|
||||
ancestry_path:1,
|
||||
first_parent_only:1,
|
||||
exclude_first_parent_only:1,
|
||||
line_level_traverse:1,
|
||||
tree_blobs_in_commit_order:1,
|
||||
|
||||
@ -402,7 +403,7 @@ const char *get_revision_mark(const struct rev_info *revs,
|
||||
void put_revision_mark(const struct rev_info *revs,
|
||||
const struct commit *commit);
|
||||
|
||||
void mark_parents_uninteresting(struct commit *commit);
|
||||
void mark_parents_uninteresting(struct rev_info *revs, struct commit *commit);
|
||||
void mark_tree_uninteresting(struct repository *r, struct tree *tree);
|
||||
void mark_trees_uninteresting_sparse(struct repository *r, struct oidset *trees);
|
||||
|
||||
|
Reference in New Issue
Block a user