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 023a5d2..3045b3e 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -18,7 +18,7 @@ import re
import subprocess
import sys
-re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac)$)")
+re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|h)$)")
clean = []
other = []