diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 13:23:10 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 13:23:10 -0500 |
| commit | 6936309247e76c7e0e36c67b77eeea8df388d050 (patch) | |
| tree | 0957d6baac75a091c3a59e0bb4ea4d1a53296c8c /Omni/Ide/hooks/commit-msg | |
| parent | 3701dd968e0e1a6be47c74a485ce3dee01c4bc9d (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.
Diffstat (limited to 'Omni/Ide/hooks/commit-msg')
| -rwxr-xr-x | Omni/Ide/hooks/commit-msg | 4 |
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" |
