Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 08:10:33 -0600
From:      Mike Karels <mike@karels.net>
To:        Harry Schmalzbauer <freebsd@omnilan.de>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: git log - how to find out latest stable/14 breakage
Message-ID:  <A83E7B59-B17E-4631-AF3C-494512BC43B4@karels.net>
In-Reply-To: <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de>

index | next in thread | previous in thread | raw e-mail

On 20 Jan 2024, at 6:47, Harry Schmalzbauer wrote:

> Hello,
>
> 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.

If you do "git grep tpl.h", you will find that lib/libifconfig/Makefile has rules
for generating the .h files from .tpl.h files.  Note, the generated files end up
in the obj directory (/usr/obj/.../lib/libifconfig).  The filenames did not change.
If you want, you could do "git blame lib/libifconfig/Makefile" to find out when
those lines last changed.  Or you could do a "git diff" using the hash of the last
version that worked for you.

What problem are you actually having?  I just did a buildworld on stable/14 and
had no problems; the .h files are in the obj directory as they should be.

> How can you all manage your daily jobs with git?!?!  For me as a part-time RCS user, git is a huge regression.  Never had anything to lookup/read twice with subversion or cvs in the past, but never found out how I'm supposed to use git.  I'm looking up usage again and again and again... is it I'm getting old probably :-(

I admit that git is rather more baroque than earlier VCS systems.  I am by no
means a power user, but I get by.  And I'm probably older than you :).
You could try a web search for "git primer" or something like that.

		Mike

> Thanks for hints,
>
> -harry


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A83E7B59-B17E-4631-AF3C-494512BC43B4>