Re: Two crazy proposals for changing git's diff commands
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- Feb 12, 2006, 03:15 UTC
- Message-ID
- <20060212031527.GA31228@fieldses.org>
- In-Reply-To
- <7vfymtl43b.fsf@assigned-by-dhcp.cox.net>
On Wed, Feb 08, 2006 at 05:21:12PM -0800, Junio C Hamano wrote:
> Of course, learning various flags to give "git diff" is part of > understanding the index
Well, there's understanding the index, and then there's memorizing the flags. I would've thought it'd be a lot easier to remember something like
git diff HEAD INDEX git diff INDEX WORK git diff HEAD WORK
than, respectively,
git diff --cached git diff git diff HEAD
But maybe that's just me. (And maybe the namespace in question is already to crowded to allow for INDEX and WORK.)
--b.