summaryrefslogtreecommitdiff
path: root/t/t6000lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6000lib.sh')
-rwxr-xr-xt/t6000lib.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t6000lib.sh b/t/t6000lib.sh
index c6752af..d402621 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.