]> git.ipfire.org Git - thirdparty/git.git/commit - t/lib-credential.sh
t/lib-credential: use write_script
authorBen Walton <bdwalton@gmail.com>
Mon, 29 Sep 2014 07:02:07 +0000 (08:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Sep 2014 16:06:52 +0000 (09:06 -0700)
commitc049216fdf8cbbe93edf107800519739f4bcf56d
tree87685fbafd3c7c8137add9e26305da34803269df
parent62b553cdd6cd41d60b3e0c6fe4a85a951712df97
t/lib-credential: use write_script

Use write_script to create the helper "askpass" script, instead of
hand-creating it with hardcoded "#!/bin/sh" to make sure we use the
shell the user told us to use.

Signed-off-by: Ben Walton <bdwalton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-credential.sh