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

Re: git-gui disagrees with git status

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 11, 2010, 06:27 UTC
Message-ID
<20100511062728.GA29654@progeny.tock>
In-Reply-To
<4BE8F1DB.2060205@viscovery.net>
Johannes Sixt wrote:
>> "Shawn O. Pearce" <spearce@spearce.org> writes:
Show 5 quoted lines
>>> Its more a feature.
>>>
>>> git-gui shows all untracked files, recursively expanding any
>>> directories which contain untracked files.  git status collapses
>>> them up.
[...]
> Oh, it *is* good behavior. Otherwise, it would not be possible to stage a
> file that resides in a currently untracked directory; you would have to
> fall back to 'git add' on the command line.

I would say rather it is the best we have. Much better would be to display untracked directories using a tree view (like gitk’s treeview), starting out collapsed[1].

Jonathan
[1] http://bugs.debian.org/572805
Previous: Miles BaderNext: Jonathan Nieder
Message 6 of 7 in “git-gui disagrees with git status”
  1. Bill WinspurMay 10, 2010
  2. Shawn O. PearceMay 10, 2010
  3. Miles BaderMay 11, 2010
  4. Johannes SixtMay 11, 2010
  5. Miles BaderMay 11, 2010
  6. Jonathan NiederMay 11, 2010
  7. Jonathan NiederMay 11, 2010

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.