Re: [PATCH] git-diff: Add --staged as a synonym for --cached.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Symonds <dsymonds@...>
Cc: <git@...>, <gitster@...>, Johannes Schindelin <Johannes.Schindelin@...>, Stephan Beyer <s-beyer@...>
Date: Wednesday, October 29, 2008 - 12:42 pm

On Wed, Oct 29, 2008 at 09:15:36AM -0700, David Symonds wrote:


I think this is a much more sensible (actual) approach.


Hmm. I wonder if it would make it more sense to make the "official" name
--staged, and leave --cached forever as a synonym. If the goal is giving
sane names to end users, then we should probably advertise the sane
ones.

OTOH, maybe it is better to start slow, let people who are doing
training materials mention --staged, and see how that works.


I had to investigate this hunk closely, as it really looks at first
glance (from the function name, and the fact that there are two hunks,
one here and one for cmd_diff) that this is impacting diff-index
--cached, but it's not. We just checked --cached in two different places
inside git-diff (but at least one of them is prefixed by a comment that
includes the world "Eek.").

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] git-diff: Add --staged as a synonym for --cached., David Symonds, (Wed Oct 29, 12:15 pm)
Re: [PATCH] git-diff: Add --staged as a synonym for --cached., Jeff King, (Wed Oct 29, 12:42 pm)
Re: [PATCH] git-diff: Add --staged as a synonym for --cached., Johannes Schindelin, (Wed Oct 29, 1:06 pm)
Re: [PATCH] git-diff: Add --staged as a synonym for --cached., Johannes Schindelin, (Wed Nov 12, 7:10 am)