Re: [PATCH/RFC] grep: optionally show only the match

2012-09-10 Thread René Scharfe
Am 09.09.2012 23:58, schrieb Marcus Karlsson: Make git-grep optionally omit the parts of the line before and after the match. Signed-off-by: Marcus Karlsson m...@acc.umu.se --- Documentation/git-grep.txt | 8 +++- builtin/grep.c | 2 ++ grep.c | 7 +--

[PATCH/RFC] grep: optionally show only the match

2012-09-09 Thread Marcus Karlsson
Make git-grep optionally omit the parts of the line before and after the match. Signed-off-by: Marcus Karlsson m...@acc.umu.se --- Documentation/git-grep.txt | 8 +++- builtin/grep.c | 2 ++ grep.c | 7 +-- grep.h | 1 + 4 files