aboutsummaryrefslogtreecommitdiffstats
path: root/misc/git_hooks/prepare-commit-msg
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-01-07 23:08:48 +0100
committerMichael Muré <batolettre@gmail.com>2019-01-07 23:08:48 +0100
commit43d0fe5caec529baa348b44f6e1cba49e87754a7 (patch)
tree41ff8ed93f39348ab288cca881b2fead732a5894 /misc/git_hooks/prepare-commit-msg
parent5850116c0dd49bd42413305e2484beb50cbcc914 (diff)
downloadgit-bug-43d0fe5caec529baa348b44f6e1cba49e87754a7.tar.gz
commands: show: change for a single valued --field flag
Diffstat (limited to 'misc/git_hooks/prepare-commit-msg')
-rwxr-xr-xmisc/git_hooks/prepare-commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/git_hooks/prepare-commit-msg b/misc/git_hooks/prepare-commit-msg
index e1d38c3c..6066d40e 100755
--- a/misc/git_hooks/prepare-commit-msg
+++ b/misc/git_hooks/prepare-commit-msg
@@ -14,7 +14,7 @@ then
hashChar=":"
fi
-ISSUE=`git bug show --fields shortId`
+ISSUE=`git bug show --field shortId`
if [ "$ISSUE" = "" ]
then
echo "$cmtChar !!!!! insert $hashChar<issue_id> in your comment, pick one in list below." >> "$1"