Code

gitk: Fix "show origin of this line" with separate work tree
authorMartin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Tue, 5 Apr 2011 02:14:13 +0000 (22:14 -0400)
committerPaul Mackerras <paulus@samba.org>
Sun, 24 Jul 2011 05:34:54 +0000 (15:34 +1000)
commit9b6adf343350891384fef7252eefb404d0fee090
tree327cc6909948c945b6270d4380a94b87b70fab45
parentc332f44514375fd8e70da2c347b7bb8f2bd240f4
gitk: Fix "show origin of this line" with separate work tree

Running "show origin of this line" currently fails when the the work
tree is not the parent of the git directory.  Fix it by feeding
git-blame paths relative to $GIT_WORK_TREE instead of "$GIT_DIR/..".

Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk