Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2020 11:22:57 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@freebsd.org>
To:        Philip Paeps <philip@freebsd.org>
Cc:        git@freebsd.org
Subject:   Re: git log --graph in the face of vendor imports
Message-ID:  <X%2BcPAW2%2B1VKK1vuw@acme.spoerlein.net>
In-Reply-To: <EE8C8A14-B828-402F-AE2C-68B3E214A1CF@freebsd.org>
References:  <EE8C8A14-B828-402F-AE2C-68B3E214A1CF@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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!

The history was massively streamlined to get fewer merge commits and git 
no longer core dumps when rendering the full thing with the proper 
flags.

Another fun fact, we have merge commits in the repo with upwards of 6 
parents or so.

[alias]
   glog = log --graph --pretty=format:'%Cred%h %C(green)%t %Creset -%C(yellow)%d%Creset %s %Cgreen(%an, %cr, %ad)%Creset' --date=short
   gnlog = log --graph --pretty=format:'%Cred%h %C(green)%t %Creset %C(red)%ad %Creset-%C(yellow)%d%Creset %s %n      %N %-GG' --date=short


% git gnlog
<hit G>
<it shows first commit>
% git glog
<hit G>
error: git died of signal 11
<it shows commits from the 2003-01-26 timeframe>

Someoneā„¢ should debug that ...
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X%2BcPAW2%2B1VKK1vuw>