summaryrefslogtreecommitdiff
path: root/lib/commit.tcl
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-05-08 21:58:25 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-05-08 21:58:25 -0400
commitc6127856eb318157121b0aeab150c074e9eeb3de (patch)
treedc7890d2b6ad4ac991c6f8c61f23d519cca84721 /lib/commit.tcl
parentgit-gui: Convert blame to the "class" way of doing things (diff)
downloadtgif-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