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

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

From
Martin Renold <martinxyz@gmx.ch>
Date
Jun 30, 2009, 15:14 UTC
Message-ID
<20090630151442.GA20688@old.homeip.net>
In-Reply-To
<20090630053304.GB29643@sigio.peff.net>
On Tue, Jun 30, 2009 at 01:33:05AM -0400, Jeff King wrote:
> If it is convenience you want, perhaps you would be even happier with:
>   git config status.showUntrackedFiles no

No, that doesn't help in my usecase. I want to be reminded about the untracked files by default because I intend to clean them up later.

> [...] 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

Good point. However I think those commands are similar only from an implementation point of view. As an user I think of them as being quite different. I would not be surprised about different meaning of options - certainly less than about "git commit -a" vs "git add -u".

> 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).

Yes I understand that. I'm using a wrapper script for now, but if it was any other one-letter shortcut, I would prefer to learn that instead.

bye, Martin

Previous: Jeff KingNext: Jeff King
Message 5 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.