All of lore.kernel.org
 help / color / mirror / Atom feed
* Colorized git log
@ 2005-04-21 21:12 Sean
  2005-04-21 22:42 ` Petr Baudis
  0 siblings, 1 reply; 6+ messages in thread
From: Sean @ 2005-04-21 21:12 UTC (permalink / raw)
  To: GIT Mailing Lists


On the off chance that someone else might like it, here is a pager script
for the git log that adds a splash of color:

#!/bin/sh
git log "$@" | sed -re '
     /.*signed-off-by.*/Is//\x1b[34m&\x1b[0m/
     /^--*$/Is//\x1b[31m&\x1b[0m/
     /^(commit|tree|parent) .*/Is//\x1b[32m&\x1b[0m/
     /^author .*/Is//\x1b[36m&\x1b[0m/
     /^committer .*/Is//\x1b[35m&\x1b[0m/'  | less -R


Sean



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

end of thread, other threads:[~2005-04-22  1:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21 21:12 Colorized git log Sean
2005-04-21 22:42 ` Petr Baudis
2005-04-22  0:46   ` [PATCH] " Daniel Serpell
2005-04-22  0:54     ` Petr Baudis
2005-04-22  1:04       ` Daniel Serpell
2005-04-22  1:04       ` Steven Cole

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.