From 99e114f5c598ce6321c81bbe41e212877a3c375c Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Apr 2024 16:35:15 -0400 Subject: Make bild exception for git hooks Apparently git hooks don't get called if they have a file extention, so these weren't getting called at all since commit 904de577261e7024373e7a42fd763184764238f9. So this renames them back to the extension-less versions, and adds an exception in bild for files in the core.hooksPath directory. Unfortunately this means Lint.hs will silently ignore these files, but I guess that's okay for now. --- Biz/Ide/hooks/reference-transaction.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 Biz/Ide/hooks/reference-transaction.sh (limited to 'Biz/Ide/hooks/reference-transaction.sh') diff --git a/Biz/Ide/hooks/reference-transaction.sh b/Biz/Ide/hooks/reference-transaction.sh deleted file mode 100755 index ea0cce6..0000000 --- a/Biz/Ide/hooks/reference-transaction.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -## START BRANCHLESS CONFIG - -# Avoid canceling the reference transaction in the case that `branchless` fails -# for whatever reason. -git branchless hook reference-transaction "$@" || ( -echo 'branchless: Failed to process reference transaction!' -echo 'branchless: Some events (e.g. branch updates) may have been lost.' -echo 'branchless: This is a bug. Please report it.' -) - -## END BRANCHLESS CONFIG -- cgit v1.2.3