X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft6000lib.sh;h=d40262159bce36e78dd56d931eaf1d007ef77da8;hb=210a0be504829bad5a2821488d3c25cc406fed4a;hp=c6752af48e04993e3ed3efebf288ffa86d02633a;hpb=eac6c04ca54ed7f4fec2bb43cee893b7dca31b3a;p=git.git diff --git a/t/t6000lib.sh b/t/t6000lib.sh index c6752af4..d4026215 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.