summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-03-12 10:17:47 +0100
committerJunio C Hamano <gitster@pobox.com>2024-03-12 21:28:10 +0100
commit103d563f3716385080594f54ae312cc32bf7ec4d (patch)
tree8b21d150a9e720a3bb727aeafdc5aed40ead1ef9
parentwt-status: drop custom comment-char stringification (diff)
downloadgit-103d563f3716385080594f54ae312cc32bf7ec4d.tar.xz
git-103d563f3716385080594f54ae312cc32bf7ec4d.zip
environment: drop comment_line_char compatibility macro
There is no longer any code which references the single-byte comment_line_char. Let's drop it, clearing the way for true multi-byte entries in comment_line_str. It's possible there are topics in flight that have added new references to comment_line_char. But we would prefer to fail compilation (and then fix it) upon merging with this, rather than have them quietly ignore the bytes after the first. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--environment.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/environment.h b/environment.h
index 3496474cce..a8b06674eb 100644
--- a/environment.h
+++ b/environment.h
@@ -8,7 +8,6 @@ struct strvec;
* The character that begins a commented line in user-editable file
* that is subject to stripspace.
*/
-#define comment_line_char (comment_line_str[0])
extern const char *comment_line_str;
extern int auto_comment_line_char;