summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90e87b0)
raw | patch | inline | side by side (parent: 90e87b0)
author | Knut Franke <k.franke@science-computing.de> | |
Mon, 30 Aug 2010 13:40:29 +0000 (15:40 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 31 Aug 2010 17:49:30 +0000 (10:49 -0700) |
Signed-off-by: Knut Franke <k.franke@science-computing.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | patch | blob | history | |
Documentation/git.txt | patch | blob | history |
index b9ab7dfa01da60b84ba7eb84d727320d54ec5932..12b7ebfafc9fe604ae64f4a46f2a3b39f152d7af 100644 (file)
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
core.askpass::
Some commands (e.g. svn and http interfaces) that interactively
ask for a password can be told to use an external program given
- via the value of this variable when it is set, and the
- environment variable `GIT_ASKPASS` is not set.
+ via the value of this variable. Can be overridden by the 'GIT_ASKPASS'
+ environment variable. If not set, fall back to the value of the
+ 'SSH_ASKPASS' environment variable or, failing that, a simple password
+ prompt. The external program shall be given a suitable prompt as
+ command line argument and write the password on its STDOUT.
core.editor::
Commands such as `commit` and `tag` that lets you edit
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 27ece5885720c0db79e30a6de9663e3bdfb37f07..39504e8d0a51e5d99725aa7ddd7539941648b86e 100644 (file)
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
personal `.ssh/config` file. Please consult your ssh documentation
for further details.
+'GIT_ASKPASS'::
+ If this environment variable is set, then git commands which need to
+ acquire passwords or passphrases (e.g. for HTTP or IMAP authentication)
+ will call this program with a suitable prompt as command line argument
+ and read the password from its STDOUT. See also the 'core.askpass'
+ option in linkgit:git-config[1].
+
'GIT_FLUSH'::
If this environment variable is set to "1", then commands such
as 'git blame' (in incremental mode), 'git rev-list', 'git log',