Просмотр исходного кода

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 5 лет назад
Родитель
Сommit
e05b200be2
1 измененных файлов с 1 добавлено и 0 удалено
  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
 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.