Re: [PATCH 1/2] Add "--only-untracked" flag to status commands.
- From
- Väinö Järvelä <v@pp.inet.fi>
- Date
- Aug 24, 2007, 10:52 UTC
- Message-ID
- <0748D6C4-C72F-4271-9372-3EBFC249FFE2@pp.inet.fi>
- In-Reply-To
- <Pine.LNX.4.64.0708241154410.16728@wbgn129.biozentrum.uni-wuerzburg.de>
On Aug 24, 2007, at 12:55, Johannes Schindelin wrote:
Show 16 quoted lines
> On Fri, 24 Aug 2007, V?in? J?rvel wrote: >> I also think that maintaining a proper .gitignore is imporant, and >> more >> productive than using --only-tracked instead. But when I have >> cruft that can't >> be put in .gitignore, or it would ignore files that are supposed >> to be shown >> and tracked, I use --only-tracked. > > Would it not be better to imitate the "-x" and "-X" options of ls- > files, > then? You could achieve the effect you desire by "git status -x > \*" then. > > Ciao, > Dscho
I haven't used that option, do I understand correctly, that with that option, you should provide another exclusion file? That would remove the dynamic ability of --only-tracked.
-- Väinö