This series fixes a few different bugs in gitk related to its working directory. I started working on patch 1, which fixes "Highlight this only/too" when gitk is started in a subdirectory. This problem has bothered me for a long time, but I had heard that the Tcl code in gitk was hard to maintain, so I didn't have a look at it until now. I have to say that it was a lot easier to follow the code than I had feared. While testing that the fix in patch 1 worked, I found that gitk does not work very well when the work tree is not at ".git/..", so most of the other patches try to improve that situation. I think I have tested most combinations of setups (top-level dir, subdir, separate work tree, bare repo, .git) and operations (highlight file, blame, external diff, show origin of line). Martin von Zweigbergk (8): gitk: fix file highlight when run in subdirectory gitk: fix "show origin of this line" with separate work tree gitk: fix "blame parent commit" with separate work tree gitk: fix "External diff" with separate work tree gitk: put temporary directory inside .git gitk: run 'git rev-parse --git-dir' only once gitk: simplify calculation of gitdir gitk: show modified files with separate work tree gitk-git/gitk | 59 +++++++++++++++++++++++++++++++------------------------- 1 files changed, 33 insertions(+), 26 deletions(-) -- 1.7.4.79.gcbe20 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html