Re: Consistent terminology: cached/staged/index
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:33
Miles Bader [off-list ref] writes:
Michael J Gruber [off-list ref] writes:quoted
Short options should really not be "wasted" easily. "-s" named after "to stage" is really problematic, as outlined in this thread.Er, but the point is that this is _such_ a common operation, that a short option for it would not be "wasted" at all.
True, but I am afraid "-c" is not it, as it would certainly be confusing to users who know what "diff" does before they learn "git diff". And I'd like to also keep "-i" open for "ignore case", which I actually wished the other day while reviewing a topic. Unlike "-c", I might implement it myself not in a distant future when I find time. Using "-I" (as an abbreviation for "index-only") is tempting, though. Both "-i" and "-I" are GNU extensions, and the latter traditionally was useful primarily to ignore cruft left in the file with use of "$Id$", but we actively discourage its use in git controlled projects, so taking it over might not be such a big issue.