Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 09:25:57 +0300
committerJunio C Hamano <gitster@pobox.com>2023-03-21 20:56:52 +0300
commit7ee24e18e55f5459183189a793cb216fb50c20f8 (patch)
tree2b25a9b29e4564a8f1065635826498c6f08d803e /environment.h
parent4f6728d52d5dc79ce522e92171f984455c04b963 (diff)
environment: move comment_line_char from cache.h
This is one step towards making strbuf.c not depend upon cache.h. Additional steps will follow in subsequent commits. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/environment.h b/environment.h
index d438b5c8f3..a26931556a 100644
--- a/environment.h
+++ b/environment.h
@@ -4,6 +4,13 @@
#include "strvec.h"
/*
+ * The character that begins a commented line in user-editable file
+ * that is subject to stripspace.
+ */
+extern char comment_line_char;
+extern int auto_comment_line_char;
+
+/*
* Wrapper of getenv() that returns a strdup value. This value is kept
* in argv to be freed later.
*/