git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] grep: add result grouping, ack style
@ 2011-06-05 15:21 René Scharfe
  2011-06-05 15:24 ` [PATCH 1/3] grep: fix coloring of hunk marks between files René Scharfe
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: René Scharfe @ 2011-06-05 15:21 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Junio C Hamano, Mark Lodato

ack (http://betterthangrep.com/) has a nice way to display results from
multiple files by writing the file name once at the top instead of at
the start of each matching line.  This short series starts with a fix
that is needed anyway and then adds the basic options that enable this
display mode.

[PATCH 1/3] grep: fix coloring of hunk marks between files
[PATCH 2/3] grep: add --break
[PATCH 3/3] grep: add --heading

 Documentation/git-grep.txt |    7 +++
 builtin/grep.c             |   29 ++++++++++----
 grep.c                     |   26 ++++++++++--
 grep.h                     |    2 +
 t/t7810-grep.sh            |   95 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 146 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-06 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 15:21 [PATCH 0/3] grep: add result grouping, ack style René Scharfe
2011-06-05 15:24 ` [PATCH 1/3] grep: fix coloring of hunk marks between files René Scharfe
2011-06-05 15:24 ` [PATCH 2/3] grep: add --break René Scharfe
2011-06-05 15:24 ` [PATCH 3/3] grep: add --heading René Scharfe
2011-06-06 12:26   ` Michał Kiedrowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).