author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 02:48:47 +0000 (22:48 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 9 May 2007 02:48:47 +0000 (22:48 -0400) | ||
commit | a0db0d61fbc447f13cb0aadf01c83eb193b22dc9 | |
tree | 900fc05999875ac255bb152a71f56f32b6672124 | tree | snapshot |
parent | 3e45ee1ef268c73539903f89c737af89034d391f | commit | diff |
git-gui: Generate blame on uncommitted working tree file
If the user doesn't give us a revision parameter to our blame
subcommand then we can generate blame against the working tree
file by passing the file path off to blame with the --contents
argument. In this case we cannot obtain the contents of the
file from the ODB; instead we must obtain the contents by
reading the working directory file as-is.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If the user doesn't give us a revision parameter to our blame
subcommand then we can generate blame against the working tree
file by passing the file path off to blame with the --contents
argument. In this case we cannot obtain the contents of the
file from the ODB; instead we must obtain the contents by
reading the working directory file as-is.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/blame.tcl | diff | blob | history |