author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sun, 9 Oct 2011 11:34:49 +0000 (13:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Oct 2011 18:59:30 +0000 (11:59 -0700) | ||
commit | f99f4b3667a83f870565bb140711f0e585999108 | |
tree | 16eb3e201c76253dd70e03f247e58b24302e5fdc | tree | snapshot |
parent | 703f05ad5835cff92b12c29aecf8d724c8c847e2 | commit | diff |
xdiff: factor out get_func_line()
Move the code to search for a function line to be shown in the hunk
header into its own function and to make returning the length-limited
result string easier, introduce struct func_line.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Move the code to search for a function line to be shown in the hunk
header into its own function and to make returning the length-limited
result string easier, introduce struct func_line.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xemit.c | diff | blob | history |