diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-04 22:21:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-04 22:21:52 -0800 |
commit | 91527e54d565e6fb6910fb3cb22f5915b5bd346e (patch) | |
tree | d86ee11ed880f6776cc192cbd1fec25e77064e22 /t/t0300-credentials.sh | |
parent | parse-options: typo check for unknown switches (diff) | |
parent | Update draft release notes to 1.7.9.3 for the last time (diff) | |
download | tgif-91527e54d565e6fb6910fb3cb22f5915b5bd346e.tar.xz |
Merge branch 'maint'
* maint:
Update draft release notes to 1.7.9.3 for the last time
http.proxy: also mention https_proxy and all_proxy
t0300: work around bug in dash 0.5.6
t5512 (ls-remote): modernize style
tests: fix spurious error when run directly with Solaris /usr/xpg4/bin/sh
Diffstat (limited to 't/t0300-credentials.sh')
-rwxr-xr-x | t/t0300-credentials.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t0300-credentials.sh b/t/t0300-credentials.sh index 8621ab036f..20e28e34e7 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 && |