summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorAnselm Kruis <a.kruis@science-computing.de>2010-08-30 15:38:38 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-31 10:49:02 -0700
commitd3e7da8979f6ee3edd88fe53241095921d578285 (patch)
tree8d552c146371757f1fddfad301148d5265424c60 /environment.c
parent64fdc08dac6694d1e754580e7acb82dfa4988bb9 (diff)
downloadgit-d3e7da8979f6ee3edd88fe53241095921d578285.tar.gz
Add a new option 'core.askpass'.
Setting this option has the same effect as setting the environment variable 'GIT_ASKPASS'. Signed-off-by: Knut Franke <k.franke@science-computing.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.c b/environment.c
index 83d38d3c23..e7760d8198 100644
--- a/environment.c
+++ b/environment.c
@@ -37,6 +37,7 @@ size_t delta_base_cache_limit = 16 * 1024 * 1024;
const char *pager_program;
int pager_use_color = 1;
const char *editor_program;
+const char *askpass_program;
const char *excludes_file;
enum auto_crlf auto_crlf = AUTO_CRLF_FALSE;
int read_replace_refs = 1;