Move "--parent" parsing into generic revision.c library code
authorLinus Torvalds <torvalds@osdl.org>
Fri, 31 Mar 2006 00:52:42 +0000 (16:52 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 1 Apr 2006 00:24:48 +0000 (16:24 -0800)
commit7b0c996679e975b666fd27c922e1e0837b611c98
treeeee4263bf333433f8062ae7137a6781c4f5a7fe2
parent8eef8e09cee1691faad2159ebdab7ca3b232d26b
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>
git.c
rev-list.c
revision.c
revision.h