From: Jeff King Date: Wed, 29 Oct 2008 00:58:14 GMT Subject: Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'. Message-ID: <20081029005814.GA8686@sigill.intra.peff.net> In-Reply-To: On Wed, Oct 29, 2008 at 02:02:29AM +0100, Johannes Schindelin wrote: > > +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? Yes, I think half of the discussion went on IRC. But I don't think "git staged" is a good idea. I think a "--staged" alias for "--cached" in "git diff" makes a lot more sense. -Peff