Re: log --graph: extra space with --pretty=oneline
El 28/5/2008, a las 13:24, Teemu Likonen escribió:
Show 35 quoted lines
> 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.
Yes it does, but it definitely looks more readable to me.
W