Re: [PATCH] git status -q (similar to subversion)
- From
Jeff King <peff@peff.net>
- Date
- Jun 30, 2009, 05:33 UTC
- Message-ID
- <20090630053304.GB29643@sigio.peff.net>
- In-Reply-To
- <20090628210117.GA7821@old.homeip.net>
On Sun, Jun 28, 2009 at 11:01:17PM +0200, Martin Renold wrote:
Show 8 quoted lines
> As a former svn user I also miss -q. I like to keep untracked non-ignored > files lying around as a short-term TODO list. > > I think the point is not SVN compatibility. The point is that SVN just got > the commandline interface right here ;-) because -q easier to discover and > remember (many programs have --quiet/-q). And when you use it you will use > it several times in a row. For this -uno is already too much to bother > typing (assuming you have an alias 'git st').
If it is convenience you want, perhaps you would be even happier with:
git config status.showUntrackedFiles no
As far as "SVN got it right": that may well be the case, but we have to deal with the fact that "git status" is really a dry-run version of "git commit", which already has a "-q" option, which does something totally different. So I am a little hesitant to endorse its use in "git status" for something unrelated (and I am hesitant to have redundant command line options, as well).
-Peff