summaryrefslogtreecommitdiff
path: root/src/commit_graph.c
diff options
context:
space:
mode:
authorBasile Henry <bjm.henry@gmail.com>2021-09-09 21:53:45 +0200
committerBasile Henry <bjm.henry@gmail.com>2021-09-09 21:53:45 +0200
commit574c590f3095535e55e8f99b7f571ede28c8c211 (patch)
tree283e162bbc946978624ad612acdb6aba83d88350 /src/commit_graph.c
parent5eab4dafbe441ef22f06bb1eae6f544a862b822b (diff)
downloadlibgit2-574c590f3095535e55e8f99b7f571ede28c8c211.tar.gz
Fix multiline strip_comments logic
The strip_comments function uses the count of quotes to know if a comment char (';' or '#') is the start of a comment or part of the multiline as a string. Unfortunately converting the count of quotes from previous lines to a boolean meant that it would only work as expected in some cases (0 quotes or an odd number of quotes).
Diffstat (limited to 'src/commit_graph.c')
0 files changed, 0 insertions, 0 deletions