Move "--parent" parsing into generic revision.c library code
Not only do we do it in both rev-list.c and git.c, the revision walking code will soon want to know whether we should rewrite parenthood information or not. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
8eef8e09ce
commit
7b0c996679
@ -34,7 +34,8 @@ struct rev_info {
|
||||
edge_hint:1,
|
||||
limited:1,
|
||||
unpacked:1,
|
||||
boundary:1;
|
||||
boundary:1,
|
||||
parents:1;
|
||||
|
||||
/* special limits */
|
||||
int max_count;
|
||||
|
Reference in New Issue
Block a user