On Wed, Apr 15, 2009 at 3:17 PM, Steve Scaffidi <sscaff...@gmail.com> wrote:
> So, see the renames I did of Makefile.PL last night, I found that the
> following commands work:
>
>   git-whatchanged -M
>
>   git-log --raw -M
>
>   git-diff --diff-filter=RC --find-copies-harder HEAD~2
>

another example to demonstrate the ability to detect renames...

mv MANIFEST MANIFEST.bak
git-add .
git-diff --cached --summary -M

Output:
 rename MANIFEST => MANIFEST.bak (100%)

Now... I edited a line in that file (MANIFEST.bak)

vim MANIFEST.bak
git add .
git-diff --cached --summary -M

Output:
 rename MANIFEST => MANIFEST.bak (99%)


It *still* knows it's a rename!


-- 
-- Steve Scaffidi <step...@scaffidi.net>

_______________________________________________
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to