Skip to content

Commit 103d563

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78275b0 commit 103d563

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

environment.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ struct strvec;
88
* The character that begins a commented line in user-editable file
99
* that is subject to stripspace.
1010
*/
11-
#define comment_line_char (comment_line_str[0])
1211
extern const char *comment_line_str;
1312
extern int auto_comment_line_char;
1413

0 commit comments

Comments
 (0)