Thread (11 messages) flat view 11 messages, 5 authors, 2016-06-15

Re: [PATCH] git status -q (similar to subversion)

From: Jeff King <hidden>
Date: 2016-06-15 22:47:00

On Sun, Jun 28, 2009 at 11:01:17PM +0200, Martin Renold wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help