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

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

From
Paolo Bonzini <bonzini@gnu.org>
Date
Jul 1, 2009, 08:37 UTC
Message-ID
<4A4B2051.7020606@gnu.org>
In-Reply-To
<20090630153347.GA3547@sigio.peff.net>
> There has been much discussion about an alternate command that would be
> more like "svn status", and even some partial implementations. But it
> needs somebody who really cares about the feature to step up and
> complete it.
An alias
         changes=diff --name-status -r

already does almost the same function as "svn status -q". If you wanted full svn status with untracked files you could use this:

	changes = "!sh -c 'git status | sed -n 
\"/Untracked/N;//N;1,//d;s/^#/?/p\"; git diff --name-status -r \"$@\"' -"
Paolo
Previous: Jeff KingNext: David Aguilar
Message 7 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.