blame: factor out get_next_line()
commit29aa0b2061712c83ec5eb5c1556436b1218035ba
authorRené Scharfe <l.s.r@web.de>
Fri, 13 Jun 2014 19:53:03 +0000 (13 21:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2014 21:52:16 +0000 (13 14:52 -0700)
tree5b6f8d48ec1f3cf414f1a68836629bd89e390a41
parente156455ea49124c140a67623f22a393db62d5d98
blame: factor out get_next_line()

Move the code for finding the start of the next line into a helper
function in order to reduce duplication.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/blame.c