From 22f8691cc7079b392aa8e1736334af48ad119c54 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Thu, 3 Sep 2020 17:33:37 +0200 Subject: [PATCH] Add comment to explain what the script is about --- symlink_git_hooks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/symlink_git_hooks.sh b/symlink_git_hooks.sh index 27c10fb..b1f5ef8 100755 --- a/symlink_git_hooks.sh +++ b/symlink_git_hooks.sh @@ -1,4 +1,5 @@ #!/bin/sh +# Handy script to symlink version controlled hooks (from git_hooks/) to .git/hooks HOOK_DIR=$(git rev-parse --show-toplevel)/.git/hooks for hook in "$(git rev-parse --show-toplevel)"/git_hooks/*; do