diff options
Diffstat (limited to 'Biz/Ide/hooks/post-checkout')
-rwxr-xr-x | Biz/Ide/hooks/post-checkout | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Biz/Ide/hooks/post-checkout b/Biz/Ide/hooks/post-checkout deleted file mode 100755 index 4f58c74..0000000 --- a/Biz/Ide/hooks/post-checkout +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -set -e -function MakeTags { - ${CODEROOT:?}/Biz/Ide/MakeTags.py -} -old=$1 -new=$2 -# filter out only the changed haskell files -mapfile -t changed < <(git diff --diff-filter=d --name-only "$old" "$new" -- '*.hs') -if [[ ! -r tags ]] || [[ ! -r TAGS ]] -then - MakeTags "$CODEROOT"/**/* -elif [[ ${#changed[@]} -gt 0 ]] -then - MakeTags "${changed[@]}" -fi -## START BRANCHLESS CONFIG - -git branchless hook post-checkout "$@" -## END BRANCHLESS CONFIG |