delta icon indicating copy to clipboard operation
delta copied to clipboard

🐛 Extra newline before diffs

Open jaminthorns opened this issue 1 year ago • 0 comments

This is a pretty small nitpick, but I figure I'd file an issue anyways in case it's bothering anybody else.

In outputs with where diffs are displayed, it seems like there's an extra newline right before the diff. These screenshots don't have any custom Delta config set.

  • Output of git diff:

    Screenshot 2024-04-04 at 3 49 24 PM

  • Output of git show:

    Screenshot 2024-04-04 at 3 49 06 PM

I've selected the lines in question to make it clearer. You can also see it in the screenshot for git show in the README:

git show

In my opinion, the newline is unnecessary and should be removed.

jaminthorns avatar Apr 04 '24 20:04 jaminthorns