summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-05-08 21:58:25 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-05-08 21:58:25 -0400
commitc6127856eb318157121b0aeab150c074e9eeb3de (patch)
treedc7890d2b6ad4ac991c6f8c61f23d519cca84721 /commit.c
parent685caf9af672811b45ebeaaa299b8f9fbd743d82 (diff)
downloadgit-c6127856eb318157121b0aeab150c074e9eeb3de.tar.gz
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 'commit.c')
0 files changed, 0 insertions, 0 deletions