summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 005f85d)
raw | patch | inline | side by side (parent: 005f85d)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 5 Feb 2007 23:04:01 +0000 (15:04 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 5 Feb 2007 23:04:01 +0000 (15:04 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-blame.txt | patch | blob | history | |
builtin-blame.c | patch | blob | history |
index 0ee887d73c704fc877db845b6f5f7ab3b9b10363..5c9888d0143ec8e6c8f7c6782139cde38a25ff17 100644 (file)
--------
[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
-----------
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
diff --git a/builtin-blame.c b/builtin-blame.c
index fb30c49280817b1b4f89608948a889cc65d98bd3..a18ef81a14da390cd7580c99c7b1682ccfff5ddd 100644 (file)
--- a/builtin-blame.c
+++ b/builtin-blame.c
#include "cache-tree.h"
static char blame_usage[] =
-"git-blame [-c] [-l] [-t] [-f] [-n] [-p] [-L n,m] [-S <revs-file>] [-M] [-C] [-C] [--contents <filename>] [commit] [--] file\n"
+"git-blame [-c] [-l] [-t] [-f] [-n] [-p] [-L n,m] [-S <revs-file>] [-M] [-C] [-C] [--contents <filename>] [--incremental] [commit] [--] file\n"
" -c, --compatibility Use the same output mode as git-annotate (Default: off)\n"
" -b Show blank SHA-1 for boundary commits (Default: off)\n"
" -l, --long Show long commit SHA1 (Default: off)\n"