diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-09-08 09:17:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-08 09:17:01 -0700 |
commit | b815a726e9da97924b44d551b10d3fef3b3d1885 (patch) | |
tree | a1d0fe2b25ce93d7e1e4aad225b551018d3ca22e /config.c | |
parent | e250c5914fd151caf228cbda6c30560c266bcfef (diff) | |
parent | 453842c9b81c6bb1328b0dfc351745615004a77f (diff) | |
download | git-b815a726e9da97924b44d551b10d3fef3b3d1885.tar.gz |
Merge branch 'kf/askpass-config'
* kf/askpass-config:
Extend documentation of core.askpass and GIT_ASKPASS.
Allow core.askpass to override SSH_ASKPASS.
Add a new option 'core.askpass'.
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -605,6 +605,9 @@ static int git_default_core_config(const char *var, const char *value) if (!strcmp(var, "core.editor")) return git_config_string(&editor_program, var, value); + if (!strcmp(var, "core.askpass")) + return git_config_string(&askpass_program, var, value); + if (!strcmp(var, "core.excludesfile")) return git_config_pathname(&excludes_file, var, value); |