summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-05 23:04:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-05 23:04:01 (GMT)
commit06e75a72372d0466e110002a7504fefebe0e9c52 (patch)
treefd925c8cc6ab2c4cde1f4746e013a3f9725fed18 /Documentation
parent005f85d9ae95c44d8c6ecf61364642fbcaf49dd2 (diff)
downloadgit-06e75a72372d0466e110002a7504fefebe0e9c52.zip
git-06e75a72372d0466e110002a7504fefebe0e9c52.tar.gz
git-06e75a72372d0466e110002a7504fefebe0e9c52.tar.bz2
blame: document --contents option
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-blame.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt
index 0ee887d..5c9888d 100644
--- a/Documentation/git-blame.txt
+++ b/Documentation/git-blame.txt
@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git-blame' [-c] [-l] [-t] [-f] [-n] [-p] [--incremental] [-L n,m] [-S <revs-file>]
- [-M] [-C] [-C] [--since=<date>] [<rev>] [--] <file>
+ [-M] [-C] [-C] [--since=<date>] [<rev> | --contents <file>] [--] <file>
DESCRIPTION
-----------
@@ -67,6 +67,13 @@ OPTIONS
Show the result incrementally in a format designed for
machine consumption.
+--contents <file>::
+ When <rev> is not specified, the command annotates the
+ changes starting backwards from the working tree copy.
+ This flag makes the command pretend as if the working
+ tree copy has the contents of he named file (specify
+ `-` to make the command read from the standard input).
+
-M::
Detect moving lines in the file as well. When a commit
moves a block of lines in a file (e.g. the original file