On Wed, Jun 21, 2006 at 03:22:19PM -0700, Linus Torvalds wrote:
> 
> 
> On Wed, 21 Jun 2006, Greg KH wrote:
> >
> >  123 files changed, 4169 insertions(+), 2440 deletions(-)
> 
> Btw, I get
> 
>   119 files changed, 3888 insertions(+), 2159 deletions(-)
> 
> Why? Becuause my default pull script has rename detection enabled, and I 
> get:
> 
>  rename include/linux/{usb_cdc.h => usb/cdc.h} (100%)
>  rename include/linux/{usb_input.h => usb/input.h} (100%)
>  rename include/linux/{usb_isp116x.h => usb/isp116x.h} (100%)
>  rename include/linux/{usb_sl811.h => usb/sl811.h} (71%)
> 
> which explains the off-by-four number (and the smaller number of 
> lines changed).
> 
> Just out of interest, could you enable that in your scripts too, so that 
> renames don't show up as huge deletes/creates (well, in this case, thet 
> were pretty small files, but you get the idea)?

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...

thanks,

greg k-h

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