On Wed, Jan 20, 2010 at 11:36:04AM +0100, Andreas Krebbel wrote: > Hi, > > working on different projects I've to deal with different patch formats > and was looking for a way to handle that automatically for me. > > I'm using quilt for my patch management very much but usually forget > about adjusting the diff options in .quiltrc when switching from one > project to another. That's why I did a small change to my local quilt > installation which allows me to set diff opts depending on the name of > the source directory of the project. With that change it is possible to > set quilt diff args like that: > > QUILT_DIFF_ARGS="--no-timestamps --color=auto | gcc*:-C3 | *libc*:-U3" > > which makes quilt to use these options when in a directory starting with > gcc: > --no-timestamps --color=auto -C3 > > or these if you are in a directory whose name contains libc: > --no-timestamps --color=auto -U3 > > > I think this might be useful to others as well. What do you think?
Would it be easier to have it source a .quiltrc from CWD instead? Then you could just have a different .quiltrc for each project with the different options. josh _______________________________________________ Quilt-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/quilt-dev
