git-rev-list libification: rev-list walking
commita4a88b2bab3b6fb0b30f63418701f42388e0fe0a
authorLinus Torvalds <torvalds@osdl.org>
Tue, 28 Feb 2006 19:24:00 +0000 (28 11:24 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 28 Feb 2006 22:49:29 +0000 (28 14:49 -0800)
tree4e27435857e281ec0476076705b7a988086b270b
parentd9a83684c473e04c61f0060c4926d20f8183f7b6
git-rev-list libification: rev-list walking

This actually moves the "meat" of the revision walking from rev-list.c
to the new library code in revision.h. It introduces the new functions

void prepare_revision_walk(struct rev_info *revs);
struct commit *get_revision(struct rev_info *revs);

to prepare and then walk the revisions that we have.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c
revision.c
revision.h