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

Re: msysgit: does git gui work?

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 10, 2007, 05:31 UTC
Message-ID
<20070810053158.GJ24573@spearce.org>
In-Reply-To
<E886F099-5E9F-4785-A560-F9AAAA4E4C1F@zib.de>
Steffen Prohaska <prohaska@zib.de> wrote:
Show 15 quoted lines
> mingw only contains tclsh84 but not tclsh. This causes
> the Makefile in git-gui to fail on the creation of
> lib/tclIndex. Therefore git gui decides to take the slow
> path of sourcing the files in lib explicitly but this failes
> because they are sourced before git-version is defined.
> Therefore blame.tcl reports the error mentioned above.
> 
> Johannes (or someone else from the msysgit team),
> We should modify mingw to contain the symlink to tclsh.
> Or something similar, at least 'tclsh' should be there.
> 
> Shawn,
> The fallback mechanism of sourcing files from lib is broken.
> Either git-version must be defined before sourcing them, or
> the auto_index must always work.

*ouch*. Yea, that happened when the git-version proc was introduced. It doesn't get declared until after we have sourced everything, but the things we are sourcing want it to be declared.

The short-term workaround is the obvious thing of just making sure the auto_index works in the Makefile. I'll try to reorder things in git-gui so that the "source everything fallback" is done only after git-version is declared. Though that might be difficult as that codepath assumes error_popup has been declared and that's in something we are sourcing.

Ouch.
	me: Doctor, it hurts when I declare circular dependencies!
	dr: Well, don't do that son!
-- 
Shawn.
Previous: Steffen ProhaskaNext: Steffen Prohaska
Message 3 of 16 in “msysgit: does git gui work?”
  1. Steffen ProhaskaAug 9, 2007
  2. Steffen ProhaskaAug 9, 2007
  3. Shawn O. PearceAug 10, 2007
  4. Steffen ProhaskaAug 10, 2007
  5. Steffen ProhaskaAug 10, 2007
  6. Marius Storm-OlsenAug 10, 2007
  7. Steffen ProhaskaAug 10, 2007
  8. Johannes SchindelinAug 10, 2007
  9. Steffen ProhaskaAug 10, 2007
  10. Johannes SchindelinAug 10, 2007
  11. Steffen ProhaskaAug 10, 2007
  12. Johannes SchindelinAug 10, 2007
  13. Steffen ProhaskaAug 10, 2007
  14. Alex RiesenAug 10, 2007
  15. Dmitry KakurinAug 11, 2007
  16. Alex RiesenAug 11, 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.