Date: Wed, 24 Feb 2021 19:06:46 +0100 From: Olivier Certner <olivier.freebsd@free.fr> To: Kevin Oberman <rkoberman@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: How do I know if my 13-stable has security patches? Message-ID: <1748076.jFELhIj8lM@ravel> In-Reply-To: <CAN6yY1tTt%2BEn6hzMYrjm2fRkUPBAuN9t8%2BR27Z3To_sJRbfUVA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1748076.jFELhIj8lM>
