Code

gitk: Use "gitk: repo-top-level-dir" as window title
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Nov 2011 16:28:28 +0000 (17:28 +0100)
committerPaul Mackerras <paulus@samba.org>
Sun, 18 Mar 2012 23:00:22 +0000 (10:00 +1100)
commit3878e636c640763ad12bff7f4dca967c34c530d6
tree13dcb2c393ff80d1a95b6a409776e2beca58786a
parent811c70fc8369cfeae2f1e843c695c37e3b0c3109
gitk: Use "gitk: repo-top-level-dir" as window title

Previously, when run in a subdirectory, gitk would show the name
of this subdirectory as title, which was misleading. When run with
GIT_DIR set, it would show the cwd, which is even more misleading.

In case of non-bare repos, the .git suffix in the path is skipped.

Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
gitk