From nobody Sat Jan 20 14:58:21 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THKR12PQQz57JsM for ; Sat, 20 Jan 2024 15:00:13 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4THKR109CNz4sXQ for ; Sat, 20 Jan 2024 15:00:13 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1rRCpI-00BGXO-Er; Sat, 20 Jan 2024 16:00:04 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 40KEwLBO079805; Sat, 20 Jan 2024 15:58:21 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 40KEwLdm079804; Sat, 20 Jan 2024 15:58:21 +0100 (CET) (envelope-from naddy) Date: Sat, 20 Jan 2024 15:58:21 +0100 From: Christian Weisgerber To: Harry Schmalzbauer Cc: freebsd-stable@freebsd.org Subject: Re: git log - how to find out latest stable/14 breakage Message-ID: References: <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de> X-Rspamd-Queue-Id: 4THKR109CNz4sXQ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE] Harry Schmalzbauer: > suddenly, there are > lib/libifconfig/libifconfig_sfp_tables.tpl.c >  create mode 100644 lib/libifconfig/libifconfig_sfp_tables.tpl.h >  create mode 100644 lib/libifconfig/libifconfig_sfp_tables_internal.tpl.h > > while lib/libifconfig/libifconfig_sfp.h > still reads > #include > > (note (new) the .tpl.h suffix). > > Neither on CLI with 'git log' nor via cgit I can figure out when/what commit > changed that filenames. That would be commit 94cba8034ba53725c225c85e35724f0c2b13cea5 Author: Ryan Moeller Date: Sun Aug 9 16:27:28 2020 +0000 Move ifconfig SFP status functionality into libifconfig [...] One way to get at that information is $ git log --compact-summary stable/14 -- lib/libifconfig Or just look at the history of one of those files: $ git log stable/14 -- lib/libifconfig/libifconfig_sfp_tables.tpl.h > but never found out how I'm supposed to > use git.  I'm looking up usage again and again and again... To get an understanding of the Git fundamentals, read the first three chapters of the Git book: https://git-scm.com/book/en/v2 Also, instead of Git you can use Got (ports/devel/got), which also works with Git repositories, but has a very different, svn-inspired user interface. -- Christian "naddy" Weisgerber naddy@mips.inka.de