Commit 9342f497 authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'bw/use-write-script-in-tests'

* bw/use-write-script-in-tests:
  t/lib-credential: use write_script
parents b2c45f5b c049216f
......@@ -278,12 +278,10 @@ helper_test_timeout() {
'
}
cat >askpass <<\EOF
#!/bin/sh
write_script askpass <<\EOF
echo >&2 askpass: $*
what=$(echo $1 | cut -d" " -f1 | tr A-Z a-z | tr -cd a-z)
echo "askpass-$what"
EOF
chmod +x askpass
GIT_ASKPASS="$PWD/askpass"
export GIT_ASKPASS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment