git-gui: Generate blame on uncommitted working tree file
commita0db0d61fbc447f13cb0aadf01c83eb193b22dc9
authorShawn O. Pearce <spearce@spearce.org>
Wed, 9 May 2007 02:48:47 +0000 (8 22:48 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 9 May 2007 02:48:47 +0000 (8 22:48 -0400)
tree900fc05999875ac255bb152a71f56f32b6672124
parent3e45ee1ef268c73539903f89c737af89034d391f
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>
git-gui.sh
lib/blame.tcl