Help/dev: Update CMake Review Process document to suggest 'git describe'

Using `git describe --contains` is the preferred way to reference a
commit relative to a tag.
This commit is contained in:
Brad King
2020-08-20 07:29:06 -04:00
parent b544a1ebec
commit e05b200be2
+1
View File
@@ -264,6 +264,7 @@ fixed, it is preferable to link to the issue instead.
If relevant, add the first release tag of CMake containing the commit after
the ``<date>``, i.e., ``commit <shorthash> (<subject>, <date>, <tag>)``.
Or, use the output of ``git describe --contains <commit>`` as the ``<tag>``.
Alternatively, the full commit ``<hash>`` may be used.