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