Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Introduce sane_unset and use it to ensure proper && chaining
[gitweb.git]
/
t
/
t7502-commit.sh
diff --git
a/t/t7502-commit.sh
b/t/t7502-commit.sh
index ac2e187a5720d1ff947e58073dd6cc403ef40d5d..c1c66450a395af91c54e7815ae7c21393f7fd2ad 100755
(executable)
--- a/
t/t7502-commit.sh
+++ b/
t/t7502-commit.sh
@@
-252,8
+252,8
@@
test_expect_success 'committer is automatic' '
echo >>negative &&
(
- unset GIT_COMMITTER_EMAIL
- unset GIT_COMMITTER_NAME
+ sane_unset GIT_COMMITTER_EMAIL &&
+ sane_unset GIT_COMMITTER_NAME &&
# must fail because there is no change
test_must_fail git commit -e -m "sample"
) &&