Re: [PATCH 2/2] git-svn, perl/Git.pm: extend and use Git->prompt method for querying users
- From
- Sven Strickroth <sven.strickroth@tu-clausthal.de>
- Date
- Dec 30, 2011, 14:53 UTC
- Message-ID
- <4EFDD06A.3010708@tu-clausthal.de>
- In-Reply-To
- <20111230135423.GA1684@sigill.intra.peff.net>
Am 30.12.2011 14:54 schrieb Jeff King:
Show 9 quoted lines
>>> I thought that was updated with Peff's series recently? >> >> So, was this changed? git-core doesn't ask for a username using >> *_ASKPASS helpers anymore? > > No, it will. It's only that we will echo characters when using the > terminal prompt. In theory we could have an ASKPASS-style interface that > would would echo characters, but there's no such interface in common > use (i.e., we would have to invent it).
I also updated the _ASKPASS helper of TortoiseGit so that it only shows asterisks if "pass" is not contained in the prompt.
Show 10 quoted lines
> For credentials, it would be nice to be able to create a multi-field > dialog, like: > > Username: <text input> > Password: <text input> > Remember password? [checkbox] > > I was planning to do something custom for credentials as an extension to > the credential helper protocol, but this could also fall under the > heading of a general prompt helper.
This might be problematic, because (for git-svn) username and password are not requested together.
-- Best regards, Sven Strickroth ClamAV, a GPL anti-virus toolkit http://www.clamav.net PGP key id F5A9D4C4 @ any key-server