From 852138d9d9c907ebdb3f80385f4ef1afd85e1621 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 18 Apr 2008 10:14:09 -0300 Subject: mailimport: Add a check printk before committing a patch From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- mailimport | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mailimport b/mailimport index 7b233932e..76364aeea 100755 --- a/mailimport +++ b/mailimport @@ -112,6 +112,11 @@ apply_patch () { make whitespace hg qrefresh else + echo "WILL commit with this comment:" + cat $TMP2| grep -v "^#" + echo "Press within 3 seconds if this is wrong." + sleep 3 + patch -s -t -p1 -l -N -d $pdir -i $next if [ "$?" != "0" ]; then echo "*** ERROR at: patch -s -t -p1 -l -N -d $pdir -i $next" -- cgit v1.2.3