Fix t5516-fetch for systems where `wc -l` outputs whitespace.
[gitweb.git] / t / test-lib.sh
index 8bf4cf49a207132d0f517468b6ca1182cca61aeb..78d7e87e86178b90a350714c0b287353a0de20b4 100644 (file)
@@ -26,6 +26,7 @@ GIT_COMMITTER_EMAIL=committer@example.com
 GIT_COMMITTER_NAME='C O Mitter'
 unset GIT_DIFF_OPTS
 unset GIT_DIR
+unset GIT_WORK_TREE
 unset GIT_EXTERNAL_DIFF
 unset GIT_INDEX_FILE
 unset GIT_OBJECT_DIRECTORY