All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu.org>
To: Jeff King <peff@peff.net>
Cc: Martin Renold <martinxyz@gmx.ch>, git@vger.kernel.org
Subject: Re: [PATCH] git status -q (similar to subversion)
Date: Wed, 01 Jul 2009 10:37:37 +0200	[thread overview]
Message-ID: <4A4B2051.7020606@gnu.org> (raw)
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

  reply	other threads:[~2009-07-01  8:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-27 20:57 [PATCH] git status -q (similar to subversion) Unknown
2009-06-28 18:52 ` Jeff King
2009-06-28 21:01   ` Martin Renold
2009-06-30  5:33     ` Jeff King
2009-06-30 15:14       ` Martin Renold
2009-06-30 15:33         ` Jeff King
2009-07-01  8:37           ` Paolo Bonzini [this message]
2009-06-28 22:44 ` David Aguilar
2009-06-29 19:39   ` Unknown
2009-06-30  5:33     ` Jeff King
2009-06-30 16:56       ` Unknown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A4B2051.7020606@gnu.org \
    --to=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=martinxyz@gmx.ch \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.