author | Junio C Hamano <junkio@cox.net> | |
Tue, 30 Jan 2007 09:11:08 +0000 (01:11 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 5 Feb 2007 22:55:11 +0000 (14:55 -0800) | ||
commit | 1cfe77333f274c9ba9879c2eb61057a790eb050f | |
tree | 5ef650c0f61f51fd5fe58997425b44684df2df94 | tree | snapshot |
parent | 28389d45fb2161d4dcdc1bbfabbcc2fb135914c6 | commit | diff |
git-blame: no rev means start from the working tree file.
Warning: this changes the semantics.
This makes "git blame" without any positive rev to start digging
from the working tree copy, which is made into a fake commit
whose sole parent is the HEAD.
It also adds --contents <file> option to pretend as if the
working tree copy has the contents of the named file. You can
use '-' to make the command read from the standard input.
If you want the command to start annotating from the HEAD
commit, you need to explicitly give HEAD parameter.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Warning: this changes the semantics.
This makes "git blame" without any positive rev to start digging
from the working tree copy, which is made into a fake commit
whose sole parent is the HEAD.
It also adds --contents <file> option to pretend as if the
working tree copy has the contents of the named file. You can
use '-' to make the command read from the standard input.
If you want the command to start annotating from the HEAD
commit, you need to explicitly give HEAD parameter.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-blame.c | diff | blob | history | |
diff-lib.c | diff | blob | history | |
diff.h | diff | blob | history |