| author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
| Wed, 1 Jul 2009 22:02:38 +0000 (00:02 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Thu, 2 Jul 2009 02:16:45 +0000 (19:16 -0700) | ||
| commit | 5dd06d38795b2f6d05f851b25c814732238f8df1 | |
| tree | 4195c0280afba075bf038227a8884b634f1ffbb9 | tree | snapshot |
| parent | 8cfe5f1cd5dabc3a21bc792327747deefeff6dff | commit | diff |
grep: move context hunk mark handling into show_line()
Move last_shown into struct grep_opt, to make it available in
show_line(), and then make the function handle the printing of hunk
marks for context lines in a central place.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Move last_shown into struct grep_opt, to make it available in
show_line(), and then make the function handle the printing of hunk
marks for context lines in a central place.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| grep.c | diff | blob | history | |
| grep.h | diff | blob | history |