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