Re: How to git diff files in renamed directories
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 15, 2012, 20:49 UTC
- Message-ID
- <7vbonxk2sg.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAGATVH7KCr+dJNpx18==3BT8pzsvKeV5aYRWKts7xH0YZ8yaKw@mail.gmail.com>
Patrick Sabin <patrick.just4fun@gmail.com> writes:
Show 7 quoted lines
> I want to diff a renamed file (to a different directory) in different commits. > > File a was moved to the file subdir/c > > I tried: > > $ git diff b616d 0aa0 -- subdir/c a
Does
$ git diff -M b616d 0aa0 -- subdir/c a
match them up?