summaryrefslogtreecommitdiff
path: root/credential.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-10 05:40:54 -0500
committerJunio C Hamano <gitster@pobox.com>2011-12-12 16:09:38 -0800
commitd3c58b83aee2007ca76dc5d1242c09b6f7989c76 (patch)
tree29e79755987e0670a8258992c3a5cd504a445f9e /credential.c
parent6c597aeba1e0fc369e64b1033515b0e39544cbe1 (diff)
downloadgit-d3c58b83aee2007ca76dc5d1242c09b6f7989c76.tar.gz
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 'credential.c')
-rw-r--r--credential.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/credential.c b/credential.c
index a17eafea58..fbb72311be 100644
--- a/credential.c
+++ b/credential.c
@@ -3,6 +3,7 @@
#include "string-list.h"
#include "run-command.h"
#include "url.h"
+#include "prompt.h"
void credential_init(struct credential *c)
{