summaryrefslogtreecommitdiff
path: root/pre-commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit.sh')
-rwxr-xr-xpre-commit.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pre-commit.sh b/pre-commit.sh
index 6fd5ced..2c213bd 100755
--- a/pre-commit.sh
+++ b/pre-commit.sh
@@ -1,5 +1,6 @@
#!/bin/sh
if sed --version | grep -q 'GNU sed'; then
+ # Remove trailing white space
sed -i 's/\s\s*$//' pom.c pom.h
fi
git add -u