Code

Move read_revisions_from_stdin from builtin-rev-list.c to revision.c
authorAdam Brewster <adambrewster@gmail.com>
Sat, 5 Jul 2008 21:26:39 +0000 (17:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jul 2008 00:30:58 +0000 (17:30 -0700)
commit1fc561d169ac08c411e34a4439894c5201b3d080
tree9836dceaa29f8f504fc48cd6ef1ca3809183b9e8
parent6e1c23442a0315ad440bb8457703dcf1ad943b96
Move read_revisions_from_stdin from builtin-rev-list.c to revision.c

Reading rev-list parameters from the command line can be reused by
commands other than rev-list.  Move this function to more "library-ish"
place to promote code reuse.

Signed-off-by: Adam Brewster <asb@bu.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rev-list.c
revision.c
revision.h