Date: Wed, 24 Feb 2021 11:36:09 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: Olivier Certner <olivier.freebsd@free.fr> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: How do I know if my 13-stable has security patches? Message-ID: <CAN6yY1sehRjej7vf3B_TPsg%2BecpDLG=naQ2oiMZ=DATs3PUGzQ@mail.gmail.com> In-Reply-To: <1748076.jFELhIj8lM@ravel> References: <CAN6yY1tTt%2BEn6hzMYrjm2fRkUPBAuN9t8%2BR27Z3To_sJRbfUVA@mail.gmail.com> <1748076.jFELhIj8lM@ravel>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Olivier, for the quick response. Now I don't have to do a system build! Neither command is what I'd call 'intuitive', so it would have taken me a long time to find either of them. I cut and pasted the 'git branch' command and it took me a moment to realize what that meant. Never ran "grep -l" on a pipe, I guess. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Wed, Feb 24, 2021 at 10:06 AM Olivier Certner <olivier.freebsd@free.fr> wrote: > Hi, > > In your base git repository, type: > git rev-list <uname_hash> | grep -lF <searched_hash> > > This outputs something ("(standard input)") iff you have it in. > > In order to limit the search time in case of a false result, you'd better > pass > the --since=<oldest_date> to git rev-list. > > There is an alternative if you have a branch pointing to your uname hash: > git branch --contains <searched_hash> | grep -lF <your_branch> > > Regards. > > -- > Olivier Certner > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sehRjej7vf3B_TPsg%2BecpDLG=naQ2oiMZ=DATs3PUGzQ>