aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 951cfeef3f..eb8b6014f7 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -436,6 +436,7 @@ lint lint-stable:
rm -f $$LINTLOG
gitconfig:
+ [ -d .git ]
mkdir -p .git/hooks
for hook in commit-msg pre-commit ; do \
if [ util/gitconfig/$$hook -nt .git/hooks/$$hook -o \