Explorar o código

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.
Brad King %!s(int64=5) %!d(string=hai) anos
pai
achega
e05b200be2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Help/dev/review.rst

+ 1 - 0
Help/dev/review.rst

@@ -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
 If relevant, add the first release tag of CMake containing the commit after
 the ``<date>``, i.e., ``commit <shorthash> (<subject>, <date>, <tag>)``.
 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.
 Alternatively, the full commit ``<hash>`` may be used.