Only create git hook whet it is absent

Signed-off-by: Audrius Molis <masta@dr.com>
This commit is contained in:
Audrius Molis 2022-03-14 11:29:13 +02:00
parent 9e126a7399
commit 8e85d15a86
No known key found for this signature in database
GPG Key ID: 5A441ABAA95169B8
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ _tmpdir-rm: ##@prepare Remove TMPDIR
_install-hooks: SHELL := /bin/sh _install-hooks: SHELL := /bin/sh
_install-hooks: ##@prepare Create prepare-commit-msg git hook symlink _install-hooks: ##@prepare Create prepare-commit-msg git hook symlink
@ln -s ../../scripts/hooks/prepare-commit-msg .git/hooks @ln -s -f ../../scripts/hooks/prepare-commit-msg .git/hooks
-include _install-hooks -include _install-hooks
# Remove directories and ignored files # Remove directories and ignored files