summaryrefslogtreecommitdiffstats
path: root/imap-send.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-10 11:40:54 +0100
committerJunio C Hamano <gitster@pobox.com>2011-12-13 01:09:38 +0100
commitd3c58b83aee2007ca76dc5d1242c09b6f7989c76 (patch)
tree29e79755987e0670a8258992c3a5cd504a445f9e /imap-send.c
parentimap-send: don't check return value of git_getpass (diff)
downloadgit-d3c58b83aee2007ca76dc5d1242c09b6f7989c76.tar.xz
git-d3c58b83aee2007ca76dc5d1242c09b6f7989c76.zip
move git_getpass to its own source file
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>
Diffstat (limited to 'imap-send.c')
-rw-r--r--imap-send.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap-send.c b/imap-send.c
index 227253ea19..43588e8876 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -25,6 +25,7 @@
#include "cache.h"
#include "exec_cmd.h"
#include "run-command.h"
+#include "prompt.h"
#ifdef NO_OPENSSL
typedef void *SSL;
#else