author | Linus Torvalds <torvalds@osdl.org> | |
Tue, 28 Feb 2006 19:24:00 +0000 (11:24 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 28 Feb 2006 22:49:29 +0000 (14:49 -0800) | ||
commit | a4a88b2bab3b6fb0b30f63418701f42388e0fe0a | |
tree | 4e27435857e281ec0476076705b7a988086b270b | tree | snapshot |
parent | d9a83684c473e04c61f0060c4926d20f8183f7b6 | commit | diff |
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>
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 | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |