From owner-freebsd-questions@freebsd.org Mon Apr 5 19:44:17 2021 Return-Path: Delivered-To: freebsd-questions@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 43D5B5C5095; Mon, 5 Apr 2021 19:44:17 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDh1X0vNNz3Mb0; Mon, 5 Apr 2021 19:44:15 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Mon, 05 Apr 2021 21:43:53 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1617651846; bh=g6bI51YgYOs04jyWDzAjRlJeOKzjVX0vnPgFvMj5lQg=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=y5KxXx6YBZwpsBDLT/j0YxNree7a1SFfw2W/oN5K+FTFNYHmON9WempnJU13ZM6Mi L7dFYPmHD93SSPMyXW7POzr4ld8wdLHdroMlhfsmPM93eAVBTAcBL2DBgrZ/JzRqan CWNCHmTu3LZkqkuI5lTuP0OU240c6X9v5rFz71PMDN52AYQmhWtS/gg/rQS7cwCSjJ lIqWayn5EYfafNz67x49ScdKsuOQu7N+ktoB/OEOSyYGIY1FYFBB8G2ZFP1JCbXyQM hHCfw+lEVt/U2hlTloOx8c217wDAYi7tZ6Qn2ttruLsd9PV5Ht2Aj67+XhKMkOz4Zp lrmexX7TWifKw== Message-ID: <87lf9wpldy.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org Subject: Re: /usr/src Git --count (count of commits to the branch) In-Reply-To: References: <20210321165225.11fa1f5559373032ea629412@3dresearch.com> <62accae5-1d15-cc5f-4438-dbf503af94cd@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.0 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4FDh1X0vNNz3Mb0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=y5KxXx6Y; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-2.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; SPAMHAUS_ZRD(0.00)[94.130.200.20:from:127.0.2.255]; DKIM_TRACE(0.00)[gojira.at:+]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.130.200.20:from]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2021 19:44:17 -0000 On Mon, 05 Apr 2021 21:00:47 +0200, Graham Perrin wrote: > = > Why is the count so different? > = > The count today: 257732; and the result of today's build: n245827 > = > % bectl list -c creation > BE=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Active Mo= untpoint Space Created > r357746-Waterfox=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0= =A0=A0 59.2G 2020-03-10 18:24 > n2733-5ac839029d-f=A0=A0=A0 -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0=A0= =A0 12.5G 2021-03-04 09:17 > n257337-5fe0cd6503d-e -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0=A0=A0 1= .55G 2021-03-23 07:56 > n257551-66f138563be-a -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0=A0=A0 1= 29M=A0 2021-03-25 09:35 > n257551-66f138563be-b -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0=A0=A0 8= 82M=A0 2021-03-26 19:27 > n257551-66f138563be-c -=A0=A0=A0=A0=A0 -=A0=A0=A0=A0=A0=A0=A0=A0=A0 9= 5.4M 2021-03-31 16:26 > n257732-361e9501800-a NR=A0=A0=A0=A0 /=A0=A0=A0=A0=A0=A0=A0=A0=A0 127= G=A0 2021-04-05 18:48 > % uname -v > FreeBSD 14.0-CURRENT #91 main-n245827-361e9501800: Mon Apr=A0 5 17:59= :57 > BST 2021 > root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODE= BUG > % git -C /usr/src rev-list --count HEAD > 257732 /usr/src/sys/conf/newvers.sh uses a different command: git_cnt=3D$($git_cmd rev-list --first-parent --count HEAD 2>/dev/null= ) ^^^^^^^^^^^^^^ See: commit 8a51f14a7833fd14e1f125e63a0af9d260dcd287 Author: Warner Losh Date: Mon Jan 25 12:53:31 2021 -0700 -- Herbert