mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
![Stefan Beller](/assets/img/avatar_default.png)
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 <torvalds@linux-foundation.org>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
5 lines
98 B
Plaintext
5 lines
98 B
Plaintext
$ git diff-tree --stat initial mode
|
|
file0 | 0
|
|
1 file changed, 0 insertions(+), 0 deletions(-)
|
|
$
|