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