summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/create-pull-request8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 9a8913db72..9692bf1665 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -229,3 +229,11 @@ Review their content, especially the summary mail:
229When you are satisfied, you can send them with: 229When you are satisfied, you can send them with:
230 send-pull-request -a -p $ODIR 230 send-pull-request -a -p $ODIR
231EOM 231EOM
232
233# Check the patches for trailing white space
234egrep -q -e "^\+.*\s+$" $ODIR/*
235if [ $? -ne 1 ]; then
236 echo
237 echo "WARNING: Trailing white space detected at these locations"
238 egrep -nH --color -e "^\+.*\s+$" $ODIR/*
239fi