Skip to content

Commit 1c18a14

Browse files
committed
Merge branch 'jc/no-need-for-env-in-sh-scripts'
* jc/no-need-for-env-in-sh-scripts: *.sh: drop useless use of "env"
2 parents 006f678 + 6eca18c commit 1c18a14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t1020-subdirectory.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ test_expect_success 'GIT_PREFIX for built-ins' '
148148
(
149149
cd dir &&
150150
printf "change" >two &&
151-
env GIT_EXTERNAL_DIFF=./diff git diff >../actual
151+
GIT_EXTERNAL_DIFF=./diff git diff >../actual
152152
git checkout -- two
153153
) &&
154154
test_cmp expect actual

t/t9001-send-email.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ test_expect_success $PREREQ 'Valid In-Reply-To when prompting' '
409409
(echo "From Example <[email protected]>"
410410
echo "To Example <[email protected]>"
411411
echo ""
412-
) | env GIT_SEND_EMAIL_NOTTY=1 git send-email \
412+
) | GIT_SEND_EMAIL_NOTTY=1 git send-email \
413413
--smtp-server="$(pwd)/fake.sendmail" \
414414
$patches 2>errors &&
415415
! grep "^In-Reply-To: < *>" msgtxt1

0 commit comments

Comments
 (0)