<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4013/diff.diff-tree_--stat_initial_mode, branch main</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2017-09-28T04:15:59Z</updated>
<entry>
<title>diff: correct newline in summary for renamed files</title>
<updated>2017-09-28T04:15:59Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2017-09-27T22:51:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=58aaced4442a6daae1c82318f3f9259001714505'/>
<id>urn:sha1:58aaced4442a6daae1c82318f3f9259001714505</id>
<content type='text'>
In 146fdb0dfe (diff.c: emit_diff_symbol learns about DIFF_SYMBOL_SUMMARY,
2017-06-29), the conversion from direct printing to the symbol emission
dropped the new line character for renamed, copied and rewritten files.

Add the emission of a newline, add a test for this case.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
