From owner-freebsd-git@freebsd.org Mon Dec 28 13:46:49 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A2804B58B6 for ; Mon, 28 Dec 2020 13:46:49 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D4JkK3w9wz3jx8 for ; Mon, 28 Dec 2020 13:46:49 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by mail-yb1-f178.google.com with SMTP id k4so9747606ybp.6 for ; Mon, 28 Dec 2020 05:46:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XUBgpv3SiVBubvt4c9T7IYoPNZZcU4KWMOr14wlyBQg=; b=WCotm0ldNXQomHIbuugDz7o498HO/IdmgKATDTFg8KOo74LaHTm97Njf+sVLhjfYSx JIvcpQPlLFKyfpps6Hx2060pcm/KKEZSlCbfT5W+pdITMV/gqOa+TbYbYctCeTnRqddt ISJk+Jhq+qzTscchRMA8X1Z5wg0+OtITgzYRjossWBTB8oR9KwLoaKGw6tGUvLLtW/9r bBlPY6cScWhM/je9VArbQPe9BQzN5Yf5J28IKcDGnHqbE1Pag39S5CDwwVwkPi59I7W9 Kd4FMswGOFbsH+wPYzbD2ONJUnw3Q4osVRQzu/HIJ2jZxiH84eS/I4wQtRB9wOVRqv3w O58Q== X-Gm-Message-State: AOAM532e7fim7+ywZsGfa/sYPDQK9iBAHs+pemtuFvDBigoIVFPihtYx YZ9g0wJJvO1Tap++x1PJ/gLPYH0Dz1BCK/o2JiLcqFppn9o3LA== X-Google-Smtp-Source: ABdhPJxAbKPrTVw0YPMY/laA7JNgHcks+avansGZIWfQLbp3oTwrBNR4k9nTM1EU3AE4Dbwpix6s6nxkR+k2qcSrwTg= X-Received: by 2002:a05:6902:728:: with SMTP id l8mr64411726ybt.399.1609163208653; Mon, 28 Dec 2020 05:46:48 -0800 (PST) MIME-Version: 1.0 References: <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9.ref@yahoo.com> <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9@yahoo.com> In-Reply-To: <2EF9A8FC-0C6B-42B0-A0DC-32D882DE22F9@yahoo.com> From: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= Date: Mon, 28 Dec 2020 14:46:37 +0100 Message-ID: Subject: Re: git log --graph in the face of vendor imports To: Mark Millard Cc: freebsd-git@freebsd.org X-Rspamd-Queue-Id: 4D4JkK3w9wz3jx8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2020 13:46:49 -0000 On Sun, Dec 27, 2020 at 9:14 PM Mark Millard 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 > > > > > > % git glog > > > > error: git died of signal 11 > > > > 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