summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-01 13:23:10 -0500
committerBen Sima <ben@bensima.com>2025-12-01 13:23:10 -0500
commit6936309247e76c7e0e36c67b77eeea8df388d050 (patch)
tree0957d6baac75a091c3a59e0bb4ea4d1a53296c8c
parent3701dd968e0e1a6be47c74a485ce3dee01c4bc9d (diff)
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.
-rwxr-xr-xOmni/Ide/hooks/commit-msg4
1 files changed, 0 insertions, 4 deletions
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"