sapling/eden/scm/tests/git.sh
Jun Wu 49fe26baa2 tests: move git env reset to git.sh
Summary:
It seems there are other tests using `run-tests.py` that do not want the git
env reset behavior. Let's move the env reset logic to a separate optional script.

Reviewed By: DurhamG

Differential Revision: D33752371

fbshipit-source-id: 9465f251ec410595652f1335d1017974876953d7
2022-01-24 17:23:34 -08:00

9 lines
305 B
Bash

# reset git environment variables
export GIT_AUTHOR_NAME="test"
export GIT_AUTHOR_EMAIL="test@example.org"
export GIT_AUTHOR_DATE="2007-01-01 00:00:10 +0000"
export GIT_COMMITTER_NAME="test"
export GIT_COMMITTER_EMAIL="test@example.org"
export GIT_COMMITTER_DATE="2007-01-01 00:00:10 +0000"
unset GIT_DIR