[RFC][PATCH v2][QUILT] Add

From: Peter Zijlstra
Date: Thu Oct 06 2011 - 06:28:07 EST


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 ] && \

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/