Re: [RFC/PATCH 0/2] New 'stage' command
- From
David Kågedal <davidk@lysator.liu.se>
- Date
- Apr 6, 2009, 13:42 UTC
- Message-ID
- <87vdphj3u3.fsf@krank.kagedal.org>
- In-Reply-To
- <871vs5kjfw.fsf@krank.kagedal.org>
David Kågedal <davidk@lysator.liu.se> writes:
Show 8 quoted lines
> We wouldn't have to use the "STAGE" or "WORKTREE" names, of course. It > doesn't have to look like refspecs even. The last example already has > a syntax that matches the suggestion: > > git diff --cached <commit> > > So, extrapolating this to "git diff --worktree --cached" would mean > what "git diff -R" means today etc.
BTW, I don't really care much about whether it's spelled "cached" "index" "staged" or "dumbledore". I just want some regularity in the diff command. I'll happily let someone else figure out the taxonomy.
-- David Kågedal