diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-02-01 18:56:39 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-02-01 18:56:39 +0900 |
commit | 2161f34f8cd4d4250248554c0e1786ad4c45de16 (patch) | |
tree | a3e7d713ff787b207197a199152831368ad5070b | |
parent | 56b93c5caabbb4357df25e5e3db6b25fea171bc8 (diff) | |
download | gnunet-2161f34f8cd4d4250248554c0e1786ad4c45de16.tar.gz gnunet-2161f34f8cd4d4250248554c0e1786ad4c45de16.zip |
Fix git commit message preparation to properly include hints.
-rwxr-xr-x | contrib/conf/prepare-commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/conf/prepare-commit-msg b/contrib/conf/prepare-commit-msg index 8acca9e38..a95f29430 100755 --- a/contrib/conf/prepare-commit-msg +++ b/contrib/conf/prepare-commit-msg | |||
@@ -27,7 +27,7 @@ done | |||
27 | if [ -z "$COMMIT_SOURCE" ]; | 27 | if [ -z "$COMMIT_SOURCE" ]; |
28 | then | 28 | then |
29 | hint=$(cat "$COMMIT_MSG_FILE") | 29 | hint=$(cat "$COMMIT_MSG_FILE") |
30 | echo -e "# Our commit subject format policy is:\n# <subsystem>: <description>\n# Adding 'Issue #1234'/'Fixes #1234' into the description will automatically update/resolve issue #1234 in mantis." >> "$COMMIT_MSG_FILE" | 30 | echo -e "# Our commit subject format policy is:\n# <subsystem>: <description>\n# Adding 'Issue #1234'/'Fixes #1234' into the description will automatically update/resolve issue #1234 in mantis." > "$COMMIT_MSG_FILE" |
31 | if [ $RET = 1 ]; | 31 | if [ $RET = 1 ]; |
32 | then | 32 | then |
33 | echo -e "# Your commit includes staged changes that indicate an API change which requires a NEWS line." >> "$COMMIT_MSG_FILE" | 33 | echo -e "# Your commit includes staged changes that indicate an API change which requires a NEWS line." >> "$COMMIT_MSG_FILE" |