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

Re: git gui crashes ( v 1.8.5.2)

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 14, 2014, 01:11 UTC
Message-ID
<20140114011141.GF18964@google.com>
In-Reply-To
<CANJSc_uYm7f4LoZoMoVzcsmGrYnUy+2nXFL_cNWqQnwLb5J6mw@mail.gmail.com>

(just cc-ing some area experts) Hi Benoît,

Benoît Bourbié wrote:
> git gui crashes on my Linux machin since I updated it to 1.8.5.2.

I assume you mean "master" and not 1.8.5.2, since v1.8.5.2 doesn't include the change 918dbf58 (git-gui: right half window is paned, 2013-08-21).

Show 35 quoted lines
> I had the message
> Error in startup script: unknown option "-stretch"
>     while executing
> ".vpane.lower paneconfigure .vpane.lower.diff -stretch always"
>     invoked from within
> "if {$use_ttk} {
> .vpane.lower pane .vpane.lower.diff -weight 1
> .vpane.lower pane .vpane.lower.commarea -weight 0
> } else {
> .vpane.lower paneconfigure..."
>     (file "git/libexec/git-core/git-gui" line 3233)
>
> So, I reverted the change that has been made in git-gui/git-gui.sh
> (Diff and Commit Area)
>
> I replaced
>
> ${NS}::panedwindow .vpane.lower -orient vertical
> ${NS}::frame .vpane.lower.commarea
> ${NS}::frame .vpane.lower.diff -relief sunken -borderwidth 1 -height 500
> .vpane.lower add .vpane.lower.diff
> .vpane.lower add .vpane.lower.commarea
> .vpane add .vpane.lower
>
> by
>
> ${NS}::frame .vpane.lower -height 300 -width 400
> ${NS}::frame .vpane.lower.commarea
> ${NS}::frame .vpane.lower.diff -relief sunken -borderwidth 1
> pack .vpane.lower.diff -fill both -expand 1
> pack .vpane.lower.commarea -side bottom -fill x
> .vpane add .vpane.lower
> if {!$use_ttk} {.vpane paneconfigure .vpane.lower -sticky nsew}
>
> and now, git gui works as expected.

Thanks, Jonathan

Previous: Benoît BourbiéNext: Benoît Bourbié
Message 2 of 6 in “git gui crashes ( v 1.8.5.2)”
  1. Benoît BourbiéJan 14, 2014
  2. Jonathan NiederJan 14, 2014
  3. Benoît BourbiéJan 14, 2014
  4. Max KirillovJan 14, 2014
  5. git-gui: fallback right pane to packed widgets with Tk 8.4Max Kirillov, Jan 14, 2014
  6. Benoît BourbiéJan 16, 2014

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.