diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-04 10:23:49 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-04 10:23:49 -0800 |
commit | 149a4211a4b8d8bbcdd72685d538d6ac7365e29e (patch) | |
tree | f0e37272889876737f0216021ea8d23785763fa2 /environment.c | |
parent | bcd45b4085f9269a536c8fb1963ac8380bfac0e8 (diff) | |
parent | eff80a9fd990de3605063050dae32f969ef18ba8 (diff) | |
download | git-149a4211a4b8d8bbcdd72685d538d6ac7365e29e.tar.gz |
Merge branch 'jc/custom-comment-char'
Allow a configuration variable core.commentchar to customize the
character used to comment out the hint lines in the edited text from
the default '#'.
* jc/custom-comment-char:
Allow custom "comment char"
Diffstat (limited to 'environment.c')
-rw-r--r-- | environment.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/environment.c b/environment.c index e828b371f5..89d6c70c15 100644 --- a/environment.c +++ b/environment.c @@ -63,6 +63,12 @@ int precomposed_unicode = -1; /* see probe_utf8_pathname_composition() */ struct startup_info *startup_info; unsigned long pack_size_limit_cfg; +/* + * The character that begins a commented line in user-editable file + * that is subject to stripspace. + */ +char comment_line_char = '#'; + /* Parallel index stat data preload? */ int core_preload_index = 0; |