Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2020 14:46:37 +0100
From:      =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= <uqs@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-git@freebsd.org
Subject:   Re: git log --graph in the face of vendor imports
Message-ID:  <CAJ9axoR6SQMbs4%2Bhyu_qak%2BTvN7UBgSfjHnrx%2BzkJFLP0MWf1A@mail.gmail.com>
In-Reply-To: <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9@yahoo.com>
References:  <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9.ref@yahoo.com> <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 27, 2020 at 9:14 PM Mark Millard <marklmi@yahoo.com> wrote:

> Ulrich Sp=C3=B6rlein uqs at freebsd.org wrote on
> Sat Dec 26 10:23:00 UTC 2020 :
>
> > Yes. Fun fact: the right combination of format flags makes git segfault=
!
> >
> > . . .
> >
> > [alias]
> >    glog =3D log --graph --pretty=3Dformat:'%Cred%h %C(green)%t %Creset
> -%C(yellow)%d%Creset %s %Cgreen(%an, %cr, %ad)%Creset' --date=3Dshort
> >    gnlog =3D log --graph --pretty=3Dformat:'%Cred%h %C(green)%t %Creset
> %C(red)%ad %Creset-%C(yellow)%d%Creset %s %n      %N %-GG' --date=3Dshort
> >
> >
> > % 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>
>
> I tried these via the below (copy/paste but for adding "git " as a prefix=
)
> and got no crash:
>
> # git log --graph --pretty=3Dformat:'%Cred%h %C(green)%t %Creset
> -%C(yellow)%d%Creset %s %Cgreen(%an, %cr, %ad)%Creset' --date=3Dshort
> . . .
> * 9002c02abc58 515fc124b039  - Initial import, 0.1 + pk 0.2.4-B1 (Rodney
> W. Grimes, 28 years ago, 1993-06-12)
>
>
> # qgit log --graph --pretty=3Dformat:'%Cred%h %C(green)%t %Creset %C(red)=
%ad
> %Creset-%C(yellow)%d%Creset %s %n      %N %-GG' --date=3Dshort
> . . .
> * 9002c02abc58 515fc124b039  1993-06-12 - Initial import, 0.1 + pk
> 0.2.4-B1
>         svn path=3D/cvs2svn/branches/tcpdump/; revision=3D2
>
> FYI:
>
> # pkg info git-lite
> git-lite-2.29.2
> Name           : git-lite
> Version        : 2.29.2
> Installed on   : Sat Dec 12 10:54:47 2020 PST
> Origin         : devel/git
> Architecture   : FreeBSD:13:amd64
> Prefix         : /usr/local
> Categories     : devel
> Licenses       : GPLv2
> Maintainer     : garga@FreeBSD.org
> WWW            : https://git-scm.com/
> Comment        : Distributed source code management tool (lite flavor)
> Options        :
>         CURL           : on
>         HTMLDOCS       : off
>         ICONV          : on
>         NLS            : on
>         PCRE           : on
>         PCRE2          : off
>         SUBTREE        : on
> Shared Libs required:
>         libexpat.so.1
>         libpcre.so.1
>         libintl.so.8
>         libcurl.so.4
> Annotations    :
>         FreeBSD_version: 1300131
>         flavor         : lite
>         repo_type      : binary
>         repository     : custom
> Flat size      : 24.9MiB
> Description    :
> Git is a free and open source distributed version control system designed
> to
> handle everything from small to very large projects with speed and
> efficiency.
>
> This version provides the bare minimum git experience without any binding=
s.
>
> WWW: https://git-scm.com/
>
> # uname -apKU
> FreeBSD FBSDFHUGE 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r368820M: Sat Dec
> 19 21:07:35 PST 2020     root@FBSDFHUGE:/usr/obj/amd64_clang/amd64.amd64/=
usr/src/amd64.amd64/sys/GENERIC-NODBG
> amd64 amd64 1300132 1300132
>
>
Btw, all of your emails always end up in Gmail spam, because you're sending
from Yahoo.com and their Spam settings are incompatible with mailling lists
that re-send using the same From: address. You should use a different email
provider for mailing lists like this one.

It might all depend on the terminal being used and the pager, etc. I played
around a little but couldn't find a setting that made much of a difference.

I've added devel/git to my WITH_DEBUG_PORTS and might play around with a
debugger during the week, no promises though.

Also, I'm still on, as I had to lock the git version, because newer
versions are segfaulting when reading back the marks file from
git-fast-import during incremental runs of the converter
% git --version
git version 2.24.0

Ctrl-f for 2.24 on https://github.com/freebsd/git_conv/blob/master/README.m=
d
to see some of the nonsense I had to deal with.


Cheers
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ9axoR6SQMbs4%2Bhyu_qak%2BTvN7UBgSfjHnrx%2BzkJFLP0MWf1A>