Re: git log - how to find out latest stable/14 breakage
Date: Sat, 20 Jan 2024 14:10:33 UTC
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