tests: sanitize more git environment variables
These variables should generally not be set in one's environment, but they do get set by rebase, which means doing an interactive rebase like: pick abcd1234 foo exec make test will cause false negatives in the test suite. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Jan 26, 2011 at 15:33 UTC
a1231de0020b60076f946012b8230db9b1c00cfd
1 file changed
+3
t/test-lib.sh
+3
@@ -70,6 +70,9 @@ unset GIT_NOTES_REF
70
unset GIT_NOTES_DISPLAY_REF
71
unset GIT_NOTES_REWRITE_REF
72
unset GIT_NOTES_REWRITE_MODE
73
+unset GIT_REFLOG_ACTION
74
+unset GIT_CHERRY_PICK_HELP
75
+unset GIT_QUIET
76
GIT_MERGE_VERBOSITY=5
77
export GIT_MERGE_VERBOSITY
78
export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME