Re: [PATCH] Documentation/git-diff: remove -r from --name-status example

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

 




On Sat, 28 Jul 2007, Jeff King wrote:
> 
> The '-r' now seems to be superfluous.

For diffing against (or using) the index, the "-r" is superfluous.

Why? Because the index is always the *full* list of files. It's "flat".

However, when you diff two trees, the -r makes a difference.

So I think you'd find a difference if you actually diffed two commits 
with "git diff tree2..tree2".

		Linus
-
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]

  Powered by Linux