X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0300-credentials.sh;h=20e28e34e7dc63aaf9ee9c6bdabcf311e0240615;hb=65c2b2b509796965b9a584e4d92fec2afc4470cd;hp=8621ab036f91d0b7dcf96a1964611b8cafc3adbd;hpb=5609586f652269186d74a4661600dcbd00b1322a;p=git.git diff --git a/t/t0300-credentials.sh b/t/t0300-credentials.sh index 8621ab036..20e28e34e 100755 --- a/t/t0300-credentials.sh +++ b/t/t0300-credentials.sh @@ -8,10 +8,13 @@ test_expect_success 'setup helper scripts' ' cat >dump <<-\EOF && whoami=`echo $0 | sed s/.*git-credential-//` echo >&2 "$whoami: $*" - while IFS== read key value; do + OIFS=$IFS + IFS== + while read key value; do echo >&2 "$whoami: $key=$value" eval "$key=$value" done + IFS=$OIFS EOF write_script git-credential-useless <<-\EOF &&