Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'zj/diff-stat-smaller-num-columns'
[gitweb.git]
/
t
/
t7503-pre-commit-hook.sh
diff --git
a/t/t7503-pre-commit-hook.sh
b/t/t7503-pre-commit-hook.sh
index aa294ea42834f303fa8776c103c4f79d298f7b93..984889b39d3f8e9941a2aadc8cec833fe42176a2 100755
(executable)
--- a/
t/t7503-pre-commit-hook.sh
+++ b/
t/t7503-pre-commit-hook.sh
@@
-118,7
+118,7
@@
test_expect_success 'with failing hook requiring GIT_PREFIX' '
git checkout -- file
'
-test_expect_
failure
'check the author in hook' '
+test_expect_
success
'check the author in hook' '
write_script "$HOOK" <<-\EOF &&
test "$GIT_AUTHOR_NAME" = "New Author" &&
test "$GIT_AUTHOR_EMAIL" = "newauthor@example.com"