diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-08-13 00:04:16 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-10-07 11:02:08 +0200 |
commit | 6f8813ad09cef903d4f419c1bab8a4ce48e99744 (patch) | |
tree | d1dc1de80abf9aee9d99ee51b04dd39a32c84860 | |
parent | 53028774109da538cf0375b39bcd68eee6bdbb01 (diff) | |
download | gosc-6f8813ad09cef903d4f419c1bab8a4ce48e99744.tar.gz |
Remove leading dashes from the commit message.
-rwxr-xr-x | git-oci | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,5 +6,6 @@ git add -A . git diff --no-color HEAD -- *.changes \ |sed -E -n -e '/^\+[^+]/s/^\+//p' \ |sed -e '/^-\{4,\}/,+1d' \ + -e 's/^- *//' \ |git commit -F - git commit --amend -v "$@" |