aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-02-01 18:56:39 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2023-02-01 18:56:39 +0900
commit2161f34f8cd4d4250248554c0e1786ad4c45de16 (patch)
treea3e7d713ff787b207197a199152831368ad5070b /contrib
parent56b93c5caabbb4357df25e5e3db6b25fea171bc8 (diff)
downloadgnunet-2161f34f8cd4d4250248554c0e1786ad4c45de16.tar.gz
gnunet-2161f34f8cd4d4250248554c0e1786ad4c45de16.zip
Fix git commit message preparation to properly include hints.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/conf/prepare-commit-msg2
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
27if [ -z "$COMMIT_SOURCE" ]; 27if [ -z "$COMMIT_SOURCE" ];
28then 28then
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"