git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Martin RenoldNext: Martin Renold
Message 4 of 11 in “git status -q (similar to subversion)”
  1. git status -q (similar to subversion)Unknown, Jun 27, 2009
  2. Jeff KingJun 28, 2009
  3. Martin RenoldJun 28, 2009
  4. Jeff KingJun 30, 2009
  5. Martin RenoldJun 30, 2009
  6. Jeff KingJun 30, 2009
  7. Paolo BonziniJul 1, 2009
  8. David AguilarJun 28, 2009
  9. UnknownJun 29, 2009
  10. Jeff KingJun 30, 2009
  11. UnknownJun 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.