summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2013-02-12 14:02:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-27 17:46:03 (GMT)
commit4d31a44a08365b90ff28c5e87e187363e10c2a31 (patch)
tree7ed23829112cd1e52afd793e0d8b87f896b89eee /Documentation/git-send-email.txt
parent52dce6d036f1f3859062c475127e498ab3d261b9 (diff)
downloadgit-4d31a44a08365b90ff28c5e87e187363e10c2a31.zip
git-4d31a44a08365b90ff28c5e87e187363e10c2a31.tar.gz
git-4d31a44a08365b90ff28c5e87e187363e10c2a31.tar.bz2
git-send-email: use git credential to obtain password
If smtp_user is provided but smtp_pass is not, instead of prompting for password, make git-send-email use git credential command instead. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 44a1f7c..0cffef8 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -164,8 +164,8 @@ Sending
Furthermore, passwords need not be specified in configuration files
or on the command line. If a username has been specified (with
'--smtp-user' or a 'sendemail.smtpuser'), but no password has been
-specified (with '--smtp-pass' or 'sendemail.smtppass'), then the
-user is prompted for a password while the input is masked for privacy.
+specified (with '--smtp-pass' or 'sendemail.smtppass'), then
+a password is obtained using 'git-credential'.
--smtp-server=<host>::
If set, specifies the outgoing SMTP server to use (e.g.