*.sh: drop useless use of "env"

In a bourne shell script, "VAR=VAL command" is sufficient to run 'command' with environment variable VAR set to value VAL without affecting the environment of the shell itself; there is no need to say "env VAR=VAL command". Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Mar 6, 2014 at 15:22 UTC 6eca18ca734043a8d3e540e89575362cfe983d6f
2 files changed +2 -2
t/t1020-subdirectory.sh
+1 -1
@@ -148,7 +148,7 @@ test_expect_success 'GIT_PREFIX for built-ins' '
148 (
149 cd dir &&
150 printf "change" >two &&
151 - env GIT_EXTERNAL_DIFF=./diff git diff >../actual
151 + GIT_EXTERNAL_DIFF=./diff git diff >../actual
152 git checkout -- two
153 ) &&
154 test_cmp expect actual
t/t9001-send-email.sh
+1 -1
@@ -409,7 +409,7 @@ test_expect_success $PREREQ 'Valid In-Reply-To when prompting' '
409 (echo "From Example <from@example.com>"
410 echo "To Example <to@example.com>"
411 echo ""
412 - ) | env GIT_SEND_EMAIL_NOTTY=1 git send-email \
412 + ) | GIT_SEND_EMAIL_NOTTY=1 git send-email \
413 --smtp-server="$(pwd)/fake.sendmail" \
414 $patches 2>errors &&
415 ! grep "^In-Reply-To: < *>" msgtxt1