Re: http getpass function in msysgit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Tuesday, February 2, 2010 - 10:32 pm

Frank Li <lznuaa@gmail.com> writes:


Is "Neither, at least not yet" an accepted answer?

 - If you look at an environment, why check terminal at all?  If the
   calling application wants to specify "here is the way to ask the user
   for a password" with it, why not use it unconditionally?

 - Why is it HTTP_ASKPASS?  If other codepaths (e.g. "ssh passphrase",
   "svn password") that do not have anything to do with HTTP transfer also
   wants that feature, wouldn't it be easier for the users to specify one
   single "password dialog" helper program, that is launched by various
   parts of git, and ask "I need the HTTP password to access li.org", "I
   need to unlock the ssh key for fl@li.org", etc?

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
http getpass function in msysgit, Frank Li, (Tue Feb 2, 8:18 pm)
Re: http getpass function in msysgit, Junio C Hamano, (Tue Feb 2, 10:32 pm)
Re: http getpass function in msysgit, Frank Li, (Tue Feb 2, 10:48 pm)
Re: http getpass function in msysgit, Junio C Hamano, (Wed Feb 3, 6:28 pm)
Re: http getpass function in msysgit, Frank Li, (Wed Feb 3, 6:56 pm)
Re: http getpass function in msysgit, Junio C Hamano, (Wed Feb 3, 7:32 pm)