diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-pull-request | 8 |
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: | |||
229 | When you are satisfied, you can send them with: | 229 | When you are satisfied, you can send them with: |
230 | send-pull-request -a -p $ODIR | 230 | send-pull-request -a -p $ODIR |
231 | EOM | 231 | EOM |
232 | |||
233 | # Check the patches for trailing white space | ||
234 | egrep -q -e "^\+.*\s+$" $ODIR/* | ||
235 | if [ $? -ne 1 ]; then | ||
236 | echo | ||
237 | echo "WARNING: Trailing white space detected at these locations" | ||
238 | egrep -nH --color -e "^\+.*\s+$" $ODIR/* | ||
239 | fi | ||