Messages in this thread Patch in this message | | | Subject | [RFC][PATCH v2][QUILT] Add | From | Peter Zijlstra <> | Date | Thu, 06 Oct 2011 12:27:37 +0200 |
| |
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 +fi + mkdir -p $(dirname $patch_file) if [ -e $patch_file ] && \
| |