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

Re: git-gui Error

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 13, 2007, 07:45 UTC
Message-ID
<20070213074519.GA32687@spearce.org>
In-Reply-To
<20070213065616.GA4195@auto.tuwien.ac.at>
Martin Koegler <mkoegler@auto.tuwien.ac.at> wrote:
> Starting git-gui without any parameters display an error message instead
> of a usage message:
Starting it with no parameters (`git-gui` or `git gui`) should
work just fine.  I do this all of the time on Mac OS X and Windows,
as it opens a commit window and keeps it running.
 
Show 15 quoted lines
> Error in startup script: child process exited abnormally
>     while executing
> "close $fd"
>     (procedure "load_all_heads" line 11)
>     invoked from within
> "load_all_heads"
>     invoked from within
> "if {[is_enabled transport]} {
>         load_all_remotes
>         load_all_heads
> 
>         populate_branch_menu
>         populate_fetch_menu
>         populate_push_menu
> }"

According to this backtrace, we were trying to startup the UI and load the branches, but:

  git for-each-ref --format=%(refname) refs/heads

returned a non-zero exit code or something else with it went wrong. Is this maybe a brand new repository? This is most certainly a bug in git-gui, but I'd like to understand more about the environment so I can track it down.

-- 
Shawn.
Previous: Martin KoeglerNext: Martin Koegler
Message 2 of 11 in “git-gui Error”
  1. Martin KoeglerFeb 13, 2007
  2. Shawn O. PearceFeb 13, 2007
  3. Martin KoeglerFeb 13, 2007
  4. Shawn O. PearceFeb 14, 2007
  5. Shawn O. PearceFeb 14, 2007
  6. Martin KoeglerFeb 14, 2007
  7. Shawn O. PearceFeb 15, 2007
  8. Martin KoeglerFeb 15, 2007
  9. Shawn O. PearceFeb 15, 2007
  10. Martin KoeglerFeb 14, 2007
  11. Shawn O. PearceFeb 15, 2007

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.