Messages in this thread | | | Subject | Re: [RFC][PATCH v2][QUILT] Add | From | Steven Rostedt <> | Date | Thu, 06 Oct 2011 13:57:47 -0400 |
| |
On Thu, 2011-10-06 at 10:26 -0700, Andrew Morton wrote: > On Thu, 06 Oct 2011 12:27:37 +0200 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote: > > > since we're all happily sharing quilt hackery, let me hijack this thread > > and share one I've been carrying around for a while. > > > > I use the below patch to run a script like: > > > > #!/bin/bash > > > > if [ -x ./scripts/chechpatch.pl ]; then > > ./scripts/checkpatch.pl $1 > > fi > > > > > > --- > > --- /usr/share/quilt/refresh.orig 2010-02-27 20:42:14.888302809 +0100 > > +++ /usr/share/quilt/refresh 2010-10-31 12:36:57.355400831 +0100 > > @@ -310,6 +310,10 @@ > > > > cat $tmp_patch >> $tmp_result > > > > +if [ -n $QUILT_REFRESH_EXT ] ; then > > + $QUILT_REFRESH_EXT $tmp_result > else > sudo rm -rf /
I think I now know who cracked kernel.org.
-- Steve
> > +fi > > + > > mkdir -p $(dirname $patch_file) > > > > if [ -e $patch_file ] && \
| |