]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/lib-httpd.sh
t/lib-httpd: respect $HTTPD_PROTO in expect_askpass()
[thirdparty/git.git] / t / lib-httpd.sh
index 608949ea80b9a90cd00fcde239e7a39e21184f29..c8fd4fc713334d5487409ae389ea8a827b58c21d 100644 (file)
@@ -280,11 +280,11 @@ expect_askpass() {
                none)
                        ;;
                pass)
-                       echo "askpass: Password for 'http://$2@$dest': "
+                       echo "askpass: Password for '$HTTPD_PROTO://$2@$dest': "
                        ;;
                both)
-                       echo "askpass: Username for 'http://$dest': "
-                       echo "askpass: Password for 'http://$2@$dest': "
+                       echo "askpass: Username for '$HTTPD_PROTO://$dest': "
+                       echo "askpass: Password for '$HTTPD_PROTO://$2@$dest': "
                        ;;
                *)
                        false