On Thu, Sep 27, 2012 at 03:31:54PM -0300, Mauro Carvalho Chehab wrote:
> > Thanks for the sed script, that worked :)
> 
> Not directly related to this changeset, but we've reorganized the media tree
> structure, so I suspect that all patches c/c to stable for 3.6 (or upper) will
> require patch renames.
> 
> As I also need to work with patch renames, I wrote two scripts to help
> dealing with them:
> 
> http://git.linuxtv.org/media_build.git/blob/HEAD:/devel_scripts/gen_rename_patch.pl
> 
> This is a generic script that gets all file renames that happened between two
> given versions of the Kernel and generate a renaming script. Its usage is:
> 
>       git diff 2ea4b44..b3f5260 -M | ./gen_rename_patch.pl
> 
> It outputs a rename shell script, called "rename_patch.sh".
> 
> In the specific case of the large amounts of rename we did at drivers/media,
> they're all handled by this script (generated by the above tool):
> 
>       
> http://git.linuxtv.org/media_build.git/blob/HEAD:/devel_scripts/rename_patch.sh
> 
> 
> I suspect you may find it useful for you ;)

Ah, very cool. I'll use that for the network file reanming stuff that
happened after 3.0 as well, thanks for the link, much appreciated.

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to