aboutsummaryrefslogtreecommitdiff
path: root/gdb/contrib/check-whitespace-pre-commit.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/contrib/check-whitespace-pre-commit.py')
-rwxr-xr-xgdb/contrib/check-whitespace-pre-commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py
index d7fa45d..9d82f77 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -19,7 +19,7 @@ import subprocess
import sys
re_clean = re.compile(
- "(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|def|[chly])$)"
+ "(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|def|[chly])$|NEWS)"
)
re_clean_exclude = re.compile("^(gdb/symfile.c|gdb/cli/cli-cmds.c)$")