aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-blame.txt
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2010-10-15 23:57:51 -0700
committerJunio C Hamano <gitster@pobox.com>2010-10-19 12:00:28 -0700
commit1b8cdce94f4fff2408f8ed26fe4fc2f187a46794 (patch)
treed1406c40bc6327dea721a94113b6c841cec739f9 /Documentation/git-blame.txt
parent38a18873b21f6f2eebedc65aff2249fd6ec2168c (diff)
downloadgit-1b8cdce94f4fff2408f8ed26fe4fc2f187a46794.tar.gz
blame: Add option to show author email instead of name
Add a new option -e (or --show-email) to git-blame that will display the author's email instead of name on each line. This option works for both git-blame and git-annotate. Signed-off-by: Kevin Ballard <kevin@sb.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-blame.txt')
-rw-r--r--Documentation/git-blame.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt
index a27f43950f..c71671b4f9 100644
--- a/Documentation/git-blame.txt
+++ b/Documentation/git-blame.txt
@@ -8,7 +8,7 @@ git-blame - Show what revision and author last modified each line of a file
SYNOPSIS
--------
[verse]
-'git blame' [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-p] [-w] [--incremental] [-L n,m]
+'git blame' [-c] [-b] [-l] [--root] [-t] [-f] [-n] [-s] [-e] [-p] [-w] [--incremental] [-L n,m]
[-S <revs-file>] [-M] [-C] [-C] [-C] [--since=<date>]
[<rev> | --contents <file> | --reverse <rev>] [--] <file>
@@ -65,6 +65,10 @@ include::blame-options.txt[]
-s::
Suppress the author name and timestamp from the output.
+-e::
+--show-email::
+ Show the author email instead of author name (Default: off).
+
-w::
Ignore whitespace when comparing the parent's version and
the child's to find where the lines came from.