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>
References:  <33ffa70f-c61a-4a37-8c3c-164218264f16@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20 Jan 2024, at 6:47, Harry Schmalzbauer wrote:

> Hello,
>
> suddenly, there are
> lib/libifconfig/libifconfig_sfp_tables.tpl.c
> =C2=A0create mode 100644 lib/libifconfig/libifconfig_sfp_tables.tpl.h
> =C2=A0create mode 100644 lib/libifconfig/libifconfig_sfp_tables_interna=
l.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 c=
ommit changed that filenames.

If you do "git grep tpl.h", you will find that lib/libifconfig/Makefile h=
as 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 n=
ot change.
If you want, you could do "git blame lib/libifconfig/Makefile" to find ou=
t 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?!?!=C2=A0 For me as a p=
art-time RCS user, git is a huge regression.=C2=A0 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.=C2=A0 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 b=
y 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



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