diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2011-06-05 17:24:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-05 18:15:26 -0700 |
commit | a8f0e7649eba3ce78e1f09fc4dcbb2c3fcc3d866 (patch) | |
tree | 5076f16de30d3761802d5dfa241054662fb5b8c7 /grep.h | |
parent | 08303c3636ef750bfafd1c47f363120cb439b367 (diff) | |
download | git-a8f0e7649eba3ce78e1f09fc4dcbb2c3fcc3d866.tar.gz |
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>
Diffstat (limited to 'grep.h')
-rw-r--r-- | grep.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -110,6 +110,7 @@ struct grep_opt { unsigned post_context; unsigned last_shown; int show_hunk_mark; + int file_break; void *priv; void (*output)(struct grep_opt *opt, const void *data, size_t size); |