How do I know if my 13-stable has security patches?

Olivier Certner olivier.freebsd at free.fr
Wed Feb 24 18:06:56 UTC 2021


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




More information about the freebsd-stable mailing list