diff options
Diffstat (limited to 't/t6000lib.sh')
-rwxr-xr-x | t/t6000lib.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t6000lib.sh b/t/t6000lib.sh index c6752af48..d40262159 100755 --- a/t/t6000lib.sh +++ b/t/t6000lib.sh @@ -69,7 +69,9 @@ on_committer_date() { _date=$1 shift 1 - GIT_COMMITTER_DATE=$_date "$@" + export GIT_COMMITTER_DATE="$_date" + "$@" + unset GIT_COMMITTER_DATE } # Execute a command and suppress any error output. |