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

Re: git-gui disagrees with git status

From
Johannes Sixt <j.sixt@viscovery.net>
Date
May 11, 2010, 05:57 UTC
Message-ID
<4BE8F1DB.2060205@viscovery.net>
In-Reply-To
<buo632vj8px.fsf@dhlpc061.dev.necel.com>
Am 5/11/2010 7:41, schrieb Miles Bader:
Show 11 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
>> Its more a feature.
>>
>> git-gui shows all untracked files, recursively expanding any
>> directories which contain untracked files.  git status collapses
>> them up.
> 
> Wait, why is this a feature, exactly...?
> 
> It may be well known that git-gui works this way, but that doesn't make
> it good behavior for the user.

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.

-- Hannes
Previous: Miles BaderNext: Miles Bader
Message 4 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.