diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-05-08 21:58:25 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-05-08 21:58:25 -0400 |
commit | c6127856eb318157121b0aeab150c074e9eeb3de (patch) | |
tree | dc7890d2b6ad4ac991c6f8c61f23d519cca84721 /lib/commit.tcl | |
parent | git-gui: Convert blame to the "class" way of doing things (diff) | |
download | tgif-c6127856eb318157121b0aeab150c074e9eeb3de.tar.xz |
git-gui: Use prefix if blame is run in a subdirectory
I think it was Andy Parkins who pointed out that git gui blame HEAD f
does not work if f is in a subdirectory and we are currently running
git-gui within that subdirectory. This is happening because we did
not take the user's prefix into account when we computed the file
path in the repository.
We now assume the prefix as returned by rev-parse --show-prefix is
valid and we use that during the command line blame subcommand when
we apply the parameters.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions