From 3b44d3969ebc5a3170804c6dc4e34f2f0a27fc62 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Fri, 17 Jul 2026 12:11:25 +1000 Subject: [PATCH] remove git hook --- .githooks/pre-commit | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 .githooks/pre-commit diff --git a/.githooks/pre-commit b/.githooks/pre-commit deleted file mode 100755 index 61221d6a3..000000000 --- a/.githooks/pre-commit +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -set -e - -branch=$(git rev-parse --abbrev-ref HEAD) - -# Only enforce preflight on dev and main -if [ "$branch" != "dev" ] && [ "$branch" != "main" ]; then - exit 0 -fi - -# Only run preflight if Go files were staged -if git diff --cached --name-only | grep -q '\.go$'; then - echo "Go files staged on $branch — running make preflight..." - make preflight -else - echo "No Go files staged, skipping preflight." -fi