From 6936309247e76c7e0e36c67b77eeea8df388d050 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 1 Dec 2025 13:23:10 -0500 Subject: Remove editing of commit message in hook This was cutting off jr's commit messages so now I have a bunch of commit messages that are just cut off in the middle. Ugh. --- Omni/Ide/hooks/commit-msg | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Omni/Ide') diff --git a/Omni/Ide/hooks/commit-msg b/Omni/Ide/hooks/commit-msg index c6197f9..a91b651 100755 --- a/Omni/Ide/hooks/commit-msg +++ b/Omni/Ide/hooks/commit-msg @@ -1,8 +1,4 @@ #!/usr/bin/env bash -temp=$(mktemp) -# strip everything after >8 cut line, then strip comment lines -sed '/.*>8.*/,$d; /^#/d' "$1" | fmt -w 72 -u > "$temp" -mv "$temp" "$1" if ! gitlint --ignore-stdin --staged --msg-filename "$1" run-hook; then backup="$CODEROOT"/.git/COMMIT_EDITMSG.backup cp "$1" "$backup" -- cgit v1.2.3