Re: Consistent terminology: cached/staged/index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 14, 2011 at 5:57 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>> Is there a reason a short version of --cached couldn't be added to
>> git-diff...?  E.g. "git diff -c"?
>
> I'd suspect that we would like to keep the door open for "diff -c" to do
> what the users naturally expect, namely, to produce a patch in the copied
> context format.

hmm

"git diff -s"  ? ... since --staged is an alias for --cached :)

-miles

-- 
Cat is power.  Cat is peace.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]