[PATCH 0/3] grep: add result grouping, ack style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]