From: "Sean" <seanlkml@sympatico.ca>
To: "GIT Mailing Lists" <git@vger.kernel.org>
Subject: Colorized git log
Date: Thu, 21 Apr 2005 17:12:45 -0400 (EDT) [thread overview]
Message-ID: <3536.10.10.10.24.1114117965.squirrel@linux1> (raw)
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
next reply other threads:[~2005-04-21 22:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 21:12 Sean [this message]
2005-04-21 22:42 ` Colorized git log 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3536.10.10.10.24.1114117965.squirrel@linux1 \
--to=seanlkml@sympatico.ca \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox