On Wed, 21 Jun 2006, Greg KH wrote:
> 
> Ok, but how?  I'm generating the diffstat in my script with:
> 
>       git diff origin..HEAD | diffstat -p1 >> $TMP_FILE
> 
> Is there a better way to see these renames?  In playing around with 'git
> diff' I didn't see how to do it, but I'm probably just not looking for
> the right option...

Look at the "diff-options" documentation. 

It's "-M" for "Detect renames" (or use -C, which actually detects copies 
too, but that will be somewhat more expensive).

That works with any diff output (ie "git log -p -M" will give log output 
with patches and rename detection turned on).

                Linus

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to