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

Re: [PATCH] git-gui: make "Git GUI Here" Explorer extension more robust

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 30, 2009, 08:03 UTC
Message-ID
<alpine.DEB.1.00.0903301001090.7534@intel-tinevez-2-302>
In-Reply-To
<200903300851.43164.markus.heidelberg@web.de>
Hi,
On Mon, 30 Mar 2009, Markus Heidelberg wrote:
Show 18 quoted lines
> Johannes Schindelin, 30.03.2009:
> 
> > On Mon, 30 Mar 2009, Markus Heidelberg wrote:
> > 
> > > Starting git-gui via Windows Explorer shell extension caused 
> > > problems when not started from the project directory, but from a 
> > > directory within the project: starting the Explorer from the git-gui 
> > > menu "Explore Working Copy" didn't work then.
> > > 
> > > Starting git-gui via Explorer shell extension from the .git 
> > > directory didn't work at all.
> > > 
> > > To make these things possible, "cd .." until we see .git/
> > 
> > How does this interact with GIT_WORK_TREE?
> 
> Not sure. What's the use case for a globally set GIT_WORK_TREE, how is 
> it used?

You can call git gui with a non-global GIT_WORK_TREE by something like this, even on Windows (which your patch does not special case, anyway):

	$ GIT_WORK_TREE=/bla/blub git gui
Show 5 quoted lines
> > And with bare repositories?
> 
> Git-gui doesn't seem to work with bare repositories, I get
> "Cannot use funny .git directory: ."
> when started on the command line.

Oh? I thought there was some discussion recently that was explicitely about git gui with bare repositories. But I have to time-share my brain these days, so my memory might well show some bit flips.

Ciao, Dscho

Previous: Markus HeidelbergNext: Shawn O. Pearce
Message 4 of 10 in “git-gui: make "Git GUI Here" Explorer extension more robust”
  1. git-gui: make "Git GUI Here" Explorer extension more robustMarkus Heidelberg, Mar 29, 2009
  2. Johannes SchindelinMar 30, 2009
  3. Markus HeidelbergMar 30, 2009
  4. Johannes SchindelinMar 30, 2009
  5. Shawn O. PearceMar 30, 2009
  6. Markus HeidelbergMar 30, 2009
  7. Shawn O. PearceMar 30, 2009
  8. Giuseppe BilottaMar 30, 2009
  9. Giuseppe BilottaMar 30, 2009
  10. Markus HeidelbergMar 31, 2009

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.