Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 15, 2015
  1. @gitster

    prompt.c: remove git_getpass() nobody uses

    gitster authored
    This was whittled down to a compatibility wrapper around the more
    flexible git_prompt() in 1cb0134 (refactor git_getpass into generic
    prompt function, 2011-12-10), waiting for the final callers to go
    away.  That happened in 791643a (imap-send: use git-credential,
    2014-04-28) when imap-send learned to use the credential interface.
    
    Reviewed-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Dec 13, 2011
  1. @peff @gitster

    prompt: use git_terminal_prompt

    peff authored gitster committed
    Our custom implementation of git_terminal_prompt has many
    advantages over regular getpass(), as described in the prior
    commit.
    
    This also lets us implement a PROMPT_ECHO flag for callers
    who want it.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @peff @gitster

    refactor git_getpass into generic prompt function

    peff authored gitster committed
    This will allow callers to specify more options (e.g.,
    leaving echo on). The original git_getpass becomes a slim
    wrapper around the new function.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  3. @peff @gitster

    move git_getpass to its own source file

    peff authored gitster committed
    This is currently in connect.c, but really has nothing to
    do with the git protocol itself. Let's make a new source
    file all about prompting the user, which will make it
    cleaner to refactor.
    
    Signed-off-by: Jeff King <peff@peff.net>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.