Add "const" qualifier to "char *editor_program".
Also use "git_config_string" to simplify "config.c" code where "editor_program" is set. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
872da32d80
commit
ee9601e6be
@ -32,7 +32,7 @@ size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT;
|
||||
size_t delta_base_cache_limit = 16 * 1024 * 1024;
|
||||
const char *pager_program;
|
||||
int pager_use_color = 1;
|
||||
char *editor_program;
|
||||
const char *editor_program;
|
||||
char *excludes_file;
|
||||
int auto_crlf = 0; /* 1: both ways, -1: only when adding git objects */
|
||||
unsigned whitespace_rule_cfg = WS_DEFAULT_RULE;
|
||||
|
Reference in New Issue
Block a user