log --graph: extra space with --pretty=oneline
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 28, 2008, 11:24 UTC
- Message-ID
- <20080528112405.GA12065@mithlond.arda.local>
Sometimes "log --graph --pretty=oneline" prints a sort of broken graph line. In the git repository try this:
$ git log --graph --pretty=oneline --abbrev-commit -4 8366b7b
M 8366b7b... Merge branch 'maint'
|\
| M a2f5be5... Merge branch 'jk/maint-send-email-compose' into maint
| |\
| M \ 93c7b9c... Merge branch 'hb/maint-send-email-quote-recipients' into maint
| |\ |
| M \ \ 6abf189... Merge branch 'maint-1.5.4' into maint
| |\ | |
^Extra spaces there. I don't mind that myself but to some users it may look like a bug. Maybe one would expect output like this:
M 8366b7b... Merge branch 'maint' |\ | M a2f5be5... Merge branch 'jk/maint-send-email-compose' into maint | |\ | | \ | M \ 93c7b9c... Merge branch 'hb/maint-send-email-quote-recipients' into maint | |\ \ | | \ \ | M \ | 6abf189... Merge branch 'maint-1.5.4' into maint | |\ | |
It requires more lines though.