summaryrefslogtreecommitdiff
path: root/prompt.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-02-11 13:44:07 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-02-11 13:44:07 -0800
commitc985aaf87909ab7f8194b3cfed3a744cbff78fe9 (patch)
tree37416fd6c423c75204b505e7a71ca1812a3a1f29 /prompt.c
parentMerge branch 'jc/push-to-checkout' (diff)
parentshallow.c: make check_shallow_file_for_update() static (diff)
downloadtgif-c985aaf87909ab7f8194b3cfed3a744cbff78fe9.tar.xz
Merge branch 'jc/unused-symbols'
Mark file-local symbols as "static", and drop functions that nobody uses. * jc/unused-symbols: shallow.c: make check_shallow_file_for_update() static remote.c: make clear_cas_option() static urlmatch.c: make match_urls() static revision.c: make save_parents() and free_saved_parents() static line-log.c: make line_log_data_init() static pack-bitmap.c: make pack_bitmap_filename() static prompt.c: remove git_getpass() nobody uses http.c: make finish_active_slot() and handle_curl_result() static
Diffstat (limited to 'prompt.c')
-rw-r--r--prompt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/prompt.c b/prompt.c
index 8181eebbfc..75406390c6 100644
--- a/prompt.c
+++ b/prompt.c
@@ -73,8 +73,3 @@ char *git_prompt(const char *prompt, int flags)
}
return r;
}
-
-char *git_getpass(const char *prompt)
-{
- return git_prompt(prompt, PROMPT_ASKPASS);
-}