git log --graph in the face of vendor imports

Philip Paeps philip at freebsd.org
Sun Dec 27 01:23:06 UTC 2020


On 2020-12-26 18:22:57 (+0800), Ulrich Spörlein wrote:
> On Sat, 2020-12-26 at 11:29:41 +0800, Philip Paeps wrote:
>> I have this alias to make `git log --graph` meaningful:
>>
>> ```
>> [alias]
>>         llog = log --graph
>> --pretty=format:'%C(yellow)%h%C(red)%d%Creset %s %C(blue)- %an,
>> %ar%Creset'
>> ```
>>
>> I noticed that in our repository, the graph shifts farther to the 
>> right
>> with each vendor import.  Is this expected behaviour?
>
> Yes. Fun fact: the right combination of format flags makes git 
> segfault!

Oh good.  It's not just me for once. ;-)

Though I haven't managed to make it segfault yet.  I'm sure it's only a 
matter of time.

I just wanted to make sure that the "drifting to the right" was 
expected.  It looks odd.

Philip

-- 
Philip Paeps
Senior Reality Engineer
Alternative Enterprises


More information about the freebsd-git mailing list