aboutsummaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorKnut Franke <k.franke@science-computing.de>2010-08-30 15:40:29 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-31 10:49:30 -0700
commit453842c9b81c6bb1328b0dfc351745615004a77f (patch)
tree7ce52e71d6bdc8a24230d0422b8ba9baad310dc4 /Documentation/config.txt
parent90e87b017f93fc606e2d6956766b32e56b4a9a2e (diff)
downloadgit-453842c9b81c6bb1328b0dfc351745615004a77f.tar.gz
git-453842c9b81c6bb1328b0dfc351745615004a77f.tar.xz
Extend documentation of core.askpass and GIT_ASKPASS.
Signed-off-by: Knut Franke <k.franke@science-computing.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index b9ab7dfa0..12b7ebfaf 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -453,8 +453,11 @@ core.excludesfile::
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