When running git log to list commits with notes, it seems like the notes end with an extra newline.
Example output with two commits where only the second one has a note:
$ git log --pretty="%ad %N %s"
<date> <subject>
<date> <note>
<subject>
Whereas I would like the output to be:
<date> <subject>
<date> <note> <subject>
Is it possible to trim this newline from the note in the output?
A very similar question was already asked and answered in Display Git log including Notes in oneline, but the accepted answer does include the newline that I want to get rid of from the output.
%N%-C())