Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'mg/work-tree-tests'
[gitweb.git]
/
t
/
t7504-commit-msg-hook.sh
diff --git
a/t/t7504-commit-msg-hook.sh
b/t/t7504-commit-msg-hook.sh
index 1f53ea8090355c9a351da1983388e1a49fd88ae3..8728db61d38905d9e3e699cb9f450716e4236017 100755
(executable)
--- a/
t/t7504-commit-msg-hook.sh
+++ b/
t/t7504-commit-msg-hook.sh
@@
-179,7
+179,7
@@
EOF
chmod +x "$HOOK"
commit_msg_is () {
- test "
`git log --pretty=format:%s%b -1`
" = "$1"
+ test "
$(git log --pretty=format:%s%b -1)
" = "$1"
}
test_expect_success 'hook edits commit message' '