diff --git a/website/static/security/advisory-template.txt b/website/static/security/advisory-template.txt --- a/website/static/security/advisory-template.txt +++ b/website/static/security/advisory-template.txt @@ -114,19 +114,36 @@ The following list contains the correction revision numbers for each affected branch. -Branch/path Revision +Branch/path Hash Revision ------------------------------------------------------------------------- -stable/13/ rXXXXXX -releng/13.0/ rXXXXXX +stable/13/ XXXXXXXXXXXX stable/13-nXXXXXX +releng/13.0/ XXXXXXXXXXXX releng/13.0-nXXXXXX stable/12/ rXXXXXX releng/12.2/ rXXXXXX stable/11/ rXXXXXX releng/11.4/ rXXXXXX ------------------------------------------------------------------------- -To see which files were modified by a particular revision, run the -following command, replacing NNNNNN with the revision number, on a -machine with Subversion installed: +For FreeBSD 13 and later: + +Run the following command to see which files were modified by a +particular commit: + +# git show --stat + +Or visit the following URL, replacing XXXXXX with the hash: + + + +To determine the commit count in a working tree (for comparison against +nNNNNNN in the table above), run: + +# git rev-list --count --first-parent HEAD + +For FreeBSD 12 and earlier: + +Run the following command to see which files were modified by a particular +revision, replacing NNNNNN with the revision number: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base diff --git a/website/static/security/errata-template.txt b/website/static/security/errata-template.txt --- a/website/static/security/errata-template.txt +++ b/website/static/security/errata-template.txt @@ -114,23 +114,36 @@ The following list contains the correction revision numbers for each affected branch. -Branch/path Revision +Branch/path Hash Revision ------------------------------------------------------------------------- -stable/13/ rXXXXXX -releng/13.0/ rXXXXXX +stable/13/ XXXXXXXXXXXX stable/13-nXXXXXX +releng/13.0/ XXXXXXXXXXXX releng/13.0-nXXXXXX stable/12/ rXXXXXX releng/12.2/ rXXXXXX stable/11/ rXXXXXX releng/11.4/ rXXXXXX ------------------------------------------------------------------------- -To see which files were modified by a particular revision, run the -following command, replacing NNNNNN with the revision number, on a -machine with Subversion installed: +For FreeBSD 13 and later: -# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base +Run the following command to see which files were modified by a +particular commit: -Or visit the following URL, replacing NNNNNN with the revision number: +# git show --stat + +Or visit the following URL, replacing XXXXXX with the hash: + + + +To determine the commit count in a working tree (for comparison against +nNNNNNN in the table above), run: + +# git rev-list --count --first-parent HEAD + +For FreeBSD 12 and earlier: + +Run the following command to see which files were modified by a particular +revision, replacing NNNNNN with the revision number: