Permalink
Browse files

rework the way applying stable patches work.

Now use qp-stable, based on qp, which shows fuzz and allows me to edit
the patch directly, making it much more useful, if not much more "busy"
  • Loading branch information...
gregkh committed Apr 19, 2012
1 parent deb6a5d commit 5619bcae7608b182e89831ce6df61ab4af3f9d99
Showing with 12 additions and 12 deletions.
  1. +11 −11 stable/apply_it
  2. +1 −1 stable/apply_it_from_email
View
@@ -26,25 +26,25 @@ apply_it ()
DIR="linux-$VERSION.y"
# echo "DIR=$DIR"
- echo -n "${txtrst}Applying $PATCH to $DIR "
+ echo "${txtrst}Applying ${txtylw}$PATCH${txtrst} to ${txtblu}$DIR${txtrst}"
cd $DIR
quilt import ../$PATCH &> /dev/null
if [ $? -ne 0 ] ; then
echo "${txtred} FAILED${txtrst} to import"
- fi
-
- # TODO
- # check for fuzz here much better than we currently do (by hand later)
- # use something like what 'qp' does?
- quilt push &> /dev/null
- if [ $? -ne 0 ] ; then
- echo "${txtred} FAILED${txtrst}"
else
- quilt ref &> /dev/null
- echo "${txtgrn} SUCCEEDED${txtrst}"
+ qp-stable
+ # quilt push &> /dev/null
+ echo ""
+# if [ $? -ne 0 ] ; then
+# echo "${txtred} FAILED${txtrst}"
+# else
+ quilt ref &> /dev/null
+# echo "${txtgrn} SUCCEEDED${txtrst}"
+# fi
fi
+
cd ..
}
@@ -18,5 +18,5 @@ COMMIT_ID=`cat - | grep -i "commit:" | head -n 1 | sed -s 's/ //g' | cut -f 2 -d
#exit
echo "${txtblu}c2p $COMMIT_ID${txtrst}"
-c2p $COMMIT_ID
+gnome-terminal --command="c2p $COMMIT_ID" &
exit

0 comments on commit 5619bca

Please sign in to comment.