From: Linus Torvalds Date: Sun, 29 Jul 2007 02:06:38 GMT Subject: Re: [PATCH] Documentation/git-diff: remove -r from --name-status example Message-ID: In-Reply-To: <20070729002427.GA1566@coredump.intra.peff.net> 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