Bug in colored "log --graph" implementation
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Apr 21, 2009, 13:36 UTC
- Message-ID
- <87zlea9lit.fsf_-_@iki.fi>
- In-Reply-To
- <20090421124701.GA25982@linux.vnet>
The colored log graph implementation (commit 427fc5b) introduces an alignment bug which looks like this:
| | * | edf2e37 git-apply: work from subdirectory. | | * | 4ca0660 working from subdirectory: preparation | | | | | | \ \ | | \ \ | | \ \ | | \ \ | | \ \ | *-----. \ \ 5401f30 Merge branches 'jc/apply', 'lt/ls-tree', [...] | |\ \ \ \ \ \ | | | | | * | | 0501c24 Tutorial: adjust merge example to recursive [...]
In other words, the diagonal lines after this octopus merge are aligned wrong. To see it yourself type
git log --graph --oneline a957207
in the Git repository and scroll the output down a bit. Note that the bug exists with both --color _and_ --no-color.