aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2022-05-21 22:18:47 +0000
committerJunio C Hamano <gitster@pobox.com>2022-05-21 16:25:55 -0700
commit270ccd2a677766b7a7e22fdc16d6bb310eeda65b (patch)
tree4d249dc8cde69bdcb5da718d7983e9b37579b75c /builtin/commit-graph.c
parenttests: refactor --write-junit-xml code (diff)
downloadgit-270ccd2a677766b7a7e22fdc16d6bb310eeda65b.tar.gz
git-270ccd2a677766b7a7e22fdc16d6bb310eeda65b.zip
test(junit): avoid line feeds in XML attributes
In the test case's output, we do want newline characters, but in the XML attributes we do not want them. However, the `xml_attr_encode` function always adds a Line Feed at the end (which are then encoded as `&#x0a;`, even for XML attributes. This seems not to faze Azure Pipelines' XML parser, but it still is incorrect, so let's fix it. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions