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

Re: [PATCH] git-gui: Handle git versions of the form n.n.n.GIT

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 17, 2007, 22:34 UTC
Message-ID
<alpine.LFD.0.999.0707171532070.27353@woody.linux-foundation.org>
In-Reply-To
<20070717214510.GV19073@lavos.net>
On Tue, 17 Jul 2007, Brian Downing wrote:
> 
> D'oh, now I know why.  I'm trying git to keep my home directory config
> stuff versioned, so GIT-VERSION-GEN, failing to find a .git directory
> in my tar export, digs down and finds my home directory one instead.
Ok, that's definitely a git misfeature.
I think we could probably add a check something like:
 - once we have found a .git directory by walking up the tree, the 
   directory we actually came _from_ should then be tracked by that git 
   directory.

but I wonder how to do that properly (we would probably need to load the index, which we generally don't want to do).

		Linus
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 8 of 13 in “Problem running git-gui”
  1. Julian PhillipsJul 17, 2007
  2. Thomas GlanzmannJul 17, 2007
  3. git-gui: Handle git versions of the form n.n.n.GITJulian Phillips, Jul 17, 2007
  4. Brian DowningJul 17, 2007
  5. Brian DowningJul 17, 2007
  6. Jason SewallJul 17, 2007
  7. Shawn O. PearceJul 18, 2007
  8. Linus TorvaldsJul 17, 2007
  9. Shawn O. PearceJul 18, 2007
  10. Shawn O. PearceJul 18, 2007
  11. Martin LanghoffJul 18, 2007
  12. Shawn O. PearceJul 18, 2007
  13. Julian PhillipsJul 18, 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.