From: Johannes Schindelin Date: Wed, 29 Oct 2008 01:02:29 GMT Subject: Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'. Message-ID: In-Reply-To: <1225241048-99267-1-git-send-email-dsymonds@gmail.com> Hi, On Tue, 28 Oct 2008, David Symonds wrote: > diff --git a/.gitignore b/.gitignore > index bbaf9de..9353d19 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -118,6 +118,7 @@ git-show > git-show-branch > git-show-index > git-show-ref > +git-staged Would it not be better to teach "git show --staged" to do that, and to add a command pair "git stage " and "git unstage " to do the obvious? Ciao, Dscho