]> git.ipfire.org Git - thirdparty/git.git/commit - grep.h
grep: add --break
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 5 Jun 2011 15:24:25 +0000 (17:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jun 2011 01:15:26 +0000 (18:15 -0700)
commita8f0e7649eba3ce78e1f09fc4dcbb2c3fcc3d866
tree5076f16de30d3761802d5dfa241054662fb5b8c7
parent08303c3636ef750bfafd1c47f363120cb439b367
grep: add --break

With --break, an empty line is printed between matches from different
files, increasing readability.  This option is taken from ack
(http://betterthangrep.com/).

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt
builtin/grep.c
grep.c
grep.h
t/t7810-grep.sh