cherry: split off function to print output lines
commita3a32e7f083cdd3b8e68419d2f012b5561a9ccde
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 16 Mar 2011 07:12:48 +0000 (16 02:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Mar 2011 19:54:44 +0000 (16 12:54 -0700)
treee2197a0199beceeeee8d6747acb9915471cd3828
parent6e0332ec3ea74e635258a30d360bd2e00a51730e
cherry: split off function to print output lines

Readers uninterested in the details of "git cherry"'s output format
can see

print_commit('-', commit, verbose, abbrev);

and ignore the details.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c