Merge pull request #677 from yaras/fix-git-675

Fixed masking username with asterisks when reading credentials
This commit is contained in:
Johannes Schindelin
2016-03-02 20:13:12 +01:00

View File

@@ -132,7 +132,7 @@ static void credential_getpass(struct credential *c)
{
if (!c->username)
c->username = credential_ask_one("Username", c,
PROMPT_ASKPASS|PROMPT_ECHO);
PROMPT_ECHO);
if (!c->password)
c->password = credential_ask_one("Password", c,
PROMPT_ASKPASS);