Files
git/compat
Erik Faye-Lund cfe06a6f66 compat/terminal: support echoing on windows
Without /dev/tty support, git_terminal_prompt simply ignores the
'echo'-parameter. On Windows we can do better by clevering up our
getpass-implementation a bit so it can conditionally echo.

While we're at it, plug a small memory-leak by returning a pointer
to a static strbuf instead of detaching it. This is the same thing
the /dev/tty-version of git_terminal_prompt does, and the callee
doesn't expect to have to free it's memory.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
2012-10-22 13:31:42 +01:00
..
2012-06-22 14:25:04 -07:00
2011-10-31 20:06:03 -07:00
2012-10-22 13:30:54 +01:00