Missing trailing newline with git log --pretty=format
- From
- Andreas Gruenbacher <agruen@suse.de>
- Date
- Mar 18, 2009, 21:23 UTC
- Message-ID
- <200903182223.58800.agruen@suse.de>
Hello,
with the latest version of git from right now (e986ceb):
While trying to get a reverse list of commit ids, I noticed that git log prints newlines between commits, but not at the end. This results in two joined lines with:
$ git log --pretty=format:%h HEAD^^..HEAD | tac aab3b9a7d4e3a7 e986ceb
Any chance of getting this fixed?
Thanks, Andreas