On Mon, 9 Mar 2009, Junio C Hamano wrote:
The version of libcurl on my box is 7.18.something, and it does not seem to ask for password when the URL has only username but not colon-password. I also expected it to ask for password when $HOME/.netrc has login but not password for a given machine, but that does not seem to happen either. Perhaps the version is too old.
No, that's entirely expected. libcurl has no "prompt the user if no password was given" logic but instead delegates that work to the application.
There was once functionality for this (removed in October 2003) but it was broken and violated internal guidelines so we cut out and threw that code away.
More recently there have been people interested in re-implementing this "the right way" but so far it hasn't been made and thus the application is left to perform this task.
-- / daniel.haxx.se -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html