diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-09-14 07:43:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-14 07:43:35 -0400 |
| commit | 1f6263b82bf079b8accaecae586e1fa2da2e7736 (patch) | |
| tree | 1d9a0572b409d7a3b563f12e2aba86e7d9036047 /src | |
| parent | baf001ed0653d5deb666d1cef97f086e67e728bf (diff) | |
| parent | 574c590f3095535e55e8f99b7f571ede28c8c211 (diff) | |
| download | libgit2-1f6263b82bf079b8accaecae586e1fa2da2e7736.tar.gz | |
Merge pull request #6043 from basile-henry/config-multiline-comment-chars
Fix config parsing for multiline with multiple quoted comment chars
Diffstat (limited to 'src')
| -rw-r--r-- | src/config_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_parse.c b/src/config_parse.c index a2d779bfa..9f95e67d7 100644 --- a/src/config_parse.c +++ b/src/config_parse.c @@ -349,7 +349,7 @@ static int parse_multiline_variable(git_config_parser *reader, git_buf *value, i } /* If it was just a comment, pretend it didn't exist */ - quote_count = strip_comments(line, !!in_quotes); + quote_count = strip_comments(line, in_quotes); if (line[0] == '\0') goto next; |
