summaryrefslogtreecommitdiffstats
path: root/hooks/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/commit-msg')
-rwxr-xr-xhooks/commit-msg8
1 files changed, 5 insertions, 3 deletions
diff --git a/hooks/commit-msg b/hooks/commit-msg
index 112df63f..a6721d40 100755
--- a/hooks/commit-msg
+++ b/hooks/commit-msg
@@ -1,5 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2# From Gerrit Code Review 3.10.0 d5403dbf335ba7d48977fc95170c3f7027c34659 2# DO NOT EDIT THIS FILE
3# All updates should be sent upstream: https://gerrit.googlesource.com/gerrit/
4# This is synced from commit: 62f5bbea67f6dafa6e22a601a0c298214c510caf
5# DO NOT EDIT THIS FILE
3# 6#
4# Part of Gerrit Code Review (https://www.gerritcodereview.com/) 7# Part of Gerrit Code Review (https://www.gerritcodereview.com/)
5# 8#
@@ -31,8 +34,7 @@ if test ! -f "$1" ; then
31fi 34fi
32 35
33# Do not create a change id if requested 36# Do not create a change id if requested
34create_setting=$(git config --get gerrit.createChangeId) 37case "$(git config --get gerrit.createChangeId)" in
35case "$create_setting" in
36 false) 38 false)
37 exit 0 39 exit 0
38 ;; 40 ;;