From e23958ba3b639a24f59c32a018efdbaddd4ca98b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 3 Dec 2022 19:10:10 +0100 Subject: make .gitattributes more consistent --- scripts/setup-hooks | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 scripts/setup-hooks (limited to 'scripts/setup-hooks') diff --git a/scripts/setup-hooks b/scripts/setup-hooks deleted file mode 100755 index f4d1b1f..0000000 --- a/scripts/setup-hooks +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -o nounset -o pipefail -shopt -s inherit_errexit lastpipe - -script_dir="$( dirname -- "${BASH_SOURCE[0]}" )" -script_dir="$( cd -- "$script_dir" && pwd )" - -cd -- "$script_dir" - -gitdir="$( git rev-parse --git-dir )" -hooks_dir="$gitdir/hooks" - -symlink_dest="$( realpath "--relative-to=$hooks_dir" -- "$script_dir/pre-commit" )" - -ln -fs -- "$symlink_dest" "$hooks_dir/" -- cgit v1.2.3