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

Re: What's in git.git

From
CBcarbonated beverage <ramune@net-ronin.org>
Date
Aug 3, 2006, 07:37 UTC
Message-ID
<20060803073739.GB12755@prophet.net-ronin.org>
In-Reply-To
<20060803073636.GA12755@prophet.net-ronin.org>
Of course, and the patch gets munched.  Re-trying as an attachment. :(

-- DN Daniel

>From 1483a6207ffe8bf216ea3258db7b453857c3e1d6 Mon Sep 17 00:00:00 2001
From: Daniel Nobuto <ramune@net-ronin.org>
Date: Thu, 3 Aug 2006 00:32:01 -0700
Subject: [PATCH] Save geometry(ctexth) in ~/.gitk

Not doing so causes subsequent launches of gitk to "lose" the bottom bits of the window.

Signed-off-by: Daniel Nobuto <ramune@net-ronin.org>
---
 gitk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gitk b/gitk
index ba4644f..5ae28ef 100755
--- a/gitk
+++ b/gitk
@@ -770,6 +770,9 @@ proc savestuff {w} {
 	set wid [expr {([winfo width $ctext] - 8) \
 			   / [font measure $textfont "0"]}]
 	puts $f "set geometry(ctextw) $wid"
+	set geometry(ctexth) [expr {($texth - 8) /
+			   / [font metrics $textfont -linespace]}]
+	puts $f "set geometry(ctexth) $wid"
 	set wid [expr {([winfo width $cflist] - 11) \
 			   / [font measure [$cflist cget -font] "0"]}]
 	puts $f "set geometry(cflistw) $wid"
-- 
1.4.1.1
Previous: carbonated beverageNext: Junio C Hamano
Message 16 of 20 in “What's in git.git”
  1. Junio C HamanoAug 1, 2006
  2. Johannes SchindelinAug 2, 2006
  3. Junio C HamanoAug 2, 2006
  4. Alex RiesenAug 2, 2006
  5. Junio C HamanoAug 3, 2006
  6. Alex RiesenAug 3, 2006
  7. Junio C HamanoAug 3, 2006
  8. Alex RiesenAug 3, 2006
  9. Alex RiesenAug 3, 2006
  10. carbonated beverageAug 2, 2006
  11. Junio C HamanoAug 3, 2006
  12. A Large Angry SCMAug 3, 2006
  13. carbonated beverageAug 3, 2006
  14. carbonated beverageAug 3, 2006
  15. carbonated beverageAug 3, 2006
  16. carbonated beverageAug 3, 2006
  17. Junio C HamanoAug 3, 2006
  18. carbonated beverageAug 3, 2006
  19. carbonated beverageAug 3, 2006
  20. Jakub NarebskiAug 3, 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.