]> git.ipfire.org Git - thirdparty/git.git/commit - http-push.c
http-push.c: use a faux remote to pass to http_init
authorAmos King <amos.l.king@gmail.com>
Wed, 18 Mar 2009 23:46:41 +0000 (18:46 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Mar 2009 10:28:18 +0000 (03:28 -0700)
commit44d808c238f0817fc3ae7caea8f3b625b6180e37
tree7f2c7bda91f4a72b0d5fc6cb083ffab1b2a00d33
parent7b5201a60d8f00e7026a3fc4cfdd7852caa9882f
http-push.c: use a faux remote to pass to http_init

This patch allows http_push to use http authentication via prompts.
You may notice that there is a remote struct that only contains the
url from the repo struct.  This struct is a temporary fix for a larger
issue, but gets http authentication via prompts out the door, and
keeps users from having to store passwords in plain text files.

Signed-off-by: Amos King <amos.l.king@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c