aboutsummaryrefslogtreecommitdiffhomepage
path: root/githooks/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'githooks/commit-msg')
-rwxr-xr-xgithooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/githooks/commit-msg b/githooks/commit-msg
index 61c2844..67b883f 100755
--- a/githooks/commit-msg
+++ b/githooks/commit-msg
@@ -133,4 +133,4 @@ fi
# Substitute '###' with '#NNNNN', where 'NNNNN' is the issue number.
# '$1' is passed by Git, the file name that holds commit message.
-sed -i '' -e "s|###|#${issue_number}|g" $1
+sed -i '' -e "s|###|#${issue_number}|g" "${1}"