]> git.ipfire.org Git - thirdparty/git.git/blobdiff - config.c
Add a new option 'core.askpass'.
[thirdparty/git.git] / config.c
index cdcf5836c6c374eb59e80f89dbcf525fd6bf780f..ac55730fa712e899773be8b53596d4203e057784 100644 (file)
--- a/config.c
+++ b/config.c
@@ -560,6 +560,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);