On Feb 15, 2013, at 7:48 AM, Bob Hiestand <bob.hiest...@gmail.com> wrote:

> On Thu, Feb 14, 2013 at 8:02 PM, Matt Neuburg <mattne...@gmail.com> wrote:
> My files have all been renamed, so to diff one of them to an earlier commit 
> I'm saying this sort of thing:
>     git diff HEAD:newname cb3e0a5fa8:oldname
> I have to keep a list of the new names and old names beside me at all times. 
> This seems nuts. Is there a better way? Clearly git can tell from the history 
> when a file has been renamed, so why do I have to tell it the old name of 
> each file? Thx.
> Have you tried the '-M' option to diff? 

Yes, have you? It seems to have no effect when you supply an explicit filename 
- presumably *because* you are supplying an explicit filename. That's exactly 
my point.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to