Re: [PATCH] Implement git-staged, an alias for 'git diff --cached'.
- From
Jeff King <peff@peff.net>
- Date
- Oct 29, 2008, 01:05 UTC
- Message-ID
- <20081029010534.GA8833@sigill.intra.peff.net>
- In-Reply-To
- <20081029010107.GB12065@leksak.fem-net>
On Wed, Oct 29, 2008 at 02:01:07AM +0100, Stephan Beyer wrote:
> I'm still not understanding, what it's for. > Usability? Because doing > git config --global alias.staged 'diff --cached' > is lame?
You are missing some of the context, which is that we just had a big in-person debate about how the staged nomenclature is confusing. We call things "cached", "staged", and "index", depending on the command.
So this is an attempt to rectify that.
-Peff