Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 15:58:21 +0100
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        Harry Schmalzbauer <freebsd@omnilan.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: git log - how to find out latest stable/14 breakage
Message-ID:  <ZavfjT3pSFeb_rfn@lorvorc.mips.inka.de>
In-Reply-To: <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de>
References:  <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <libifconfig_sfp_tables.h>
> 
> (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 <freqlabs@FreeBSD.org>
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZavfjT3pSFeb_rfn>