git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] grep: color search patterns
@ 2009-03-07 12:24 René Scharfe
  2009-03-07 12:27 ` [PATCH 1/5] grep: micro-optimize hit collection for AND nodes René Scharfe
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: René Scharfe @ 2009-03-07 12:24 UTC (permalink / raw)
  To: Git Mailing List
  Cc: Nguyễn Thái Ngọc Duy, Junio C Hamano,
	Thiago Alves

Match coloring is a major missing feature of git grep.  It makes reading
the output much easier and brings grep onto the same visual level as the
other colorized git commands.

Two earlier attempts to implement this feature didn't go in.  They
didn't support support pattern expressions (--and, --or etc.) or
external greps, unlike this series.

[PATCH 1/5] grep: micro-optimize hit collection for AND nodes
[PATCH 2/5] grep: remove grep_opt argument from match_expr_eval()

   These are cleanup patches and unrelated to coloring.  They touch the
   same code, though, so it's a good idea to take this opportunity to
   beautify the code a bit before adding new features.

[PATCH 3/5] grep: add pmatch and eflags arguments to match_one_pattern()

   The two arguments added by this patch are used by the next one.

[PATCH 4/5] grep: color patterns in output

   Add color support to internal git grep.

[PATCH 5/5] grep: add support for coloring with external greps

   Extends color support to external greps.

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

end of thread, other threads:[~2009-03-16 17:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-07 12:24 [PATCH 0/5] grep: color search patterns René Scharfe
2009-03-07 12:27 ` [PATCH 1/5] grep: micro-optimize hit collection for AND nodes René Scharfe
2009-03-07 12:28 ` [PATCH 2/5] grep: remove grep_opt argument from match_expr_eval() René Scharfe
2009-03-07 12:30 ` [PATCH 3/5] grep: add pmatch and eflags arguments to match_one_pattern() René Scharfe
2009-03-07 12:32 ` [PATCH 4/5] grep: color patterns in output René Scharfe
2009-03-07 12:34 ` [PATCH 5/5] grep: add support for coloring with external greps René Scharfe
2009-03-10  6:01 ` [PATCH 0/5] grep: color search patterns Nguyen Thai Ngoc Duy
2009-03-10 16:38   ` René Scharfe
2009-03-16  2:20     ` [PATCH] grep: prefer builtin over external one when coloring results pclouds
2009-03-16 17:31       ` René Scharfe

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).