git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFC/PATCH] gitk: add current directory to main window title

From
DMDoug Maxey <dwm@enoyolf.org>
Date
Dec 10, 2006, 20:31 UTC
Message-ID
<24010.1165782706@bebe.enoyolf.org>
From fe613c56b0079871e6b862077a9d673ca064cc16 Mon Sep 17 00:00:00 2001
From: Doug Maxey <dwm@bebe.enoyolf.org>
Date: Sun, 10 Dec 2006 14:02:50 -0600
Signed-off-by: Doug Maxey <dwm@enoyolf.org>
---
Based off gitk#master.
It helps me, being greyware challenged, keep track of which gitk is active 
for a given directory. 
---
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gitk b/gitk
index 3dabc69..b8fd6ca 100755
--- a/gitk
+++ b/gitk
@@ -6293,6 +6293,7 @@ set stuffsaved 0
 set patchnum 0
 setcoords
 makewindow
+wm title . "[file tail $argv0] [file tail [pwd]]"
 readrefs
 
 if {$cmdline_files ne {} || $revtreeargs ne {}} {
-- 
1.4.4.2
Message 1 of 1 in “gitk: add current directory to main window title”
  1. gitk: add current directory to main window titleDoug Maxey, Dec 10, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.