git on Mac OS and precomposed unicode
[gitweb.git] / t / t0300-credentials.sh
index 8621ab036f91d0b7dcf96a1964611b8cafc3adbd..20e28e34e7dc63aaf9ee9c6bdabcf311e0240615 100755 (executable)
@@ -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 &&