summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-01 08:46:38 -0500
committerPaul Mackerras <paulus@samba.org>2007-02-15 08:57:14 +1100
commite9937d2a03a426b50a424927fbd0cdfbe2ac2b40 (patch)
tree47ea9d3e2da45d129d3e3887bae0a3a8f3e0d05d /git-gui/lib/commit.tcl
parent40b87ff8777a9827c544bc572d656e8a1a041a39 (diff)
downloadgit-e9937d2a03a426b50a424927fbd0cdfbe2ac2b40.tar.gz
[PATCH] Make gitk work reasonably well on Cygwin.
The gitk gui layout was completely broken on Cygwin. If gitk was started without previous geometry in ~/.gitk, the user could drag the window sashes to get a useable layout. However, if ~/.gitk existed, this was not possible at all. The fix was to rewrite makewindow, changing the toplevel containers and the particular geometry information saved between sessions. Numerous bugs in both the Cygwin and the Linux Tk versions make this a delicate balancing act: the version here works in both but many subtle variants are competely broken in one or the other environment. Three user visible changes result: 1 - The viewer is fully functional under Cygwin. 2 - The search bar moves from the bottom to the top of the lower left pane. This was necessary to get around a layout problem on Cygwin. 3 - The window size and position is saved and restored between sessions. Again, this is necessary to get around a layout problem on Cygwin. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions