Skip to content
Snippets Groups Projects
Commit c35e5193 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'newer-git-show'


f71e7b81 Help/dev/review: mention `--pretty=reference`

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5994
parents 21f0478a f71e7b81
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,8 @@ The preferred form for references to other commits is
The author date of the commit, in its original time zone, formatted as
``CCYY-MM-DD``. ``git-log(1)`` shows the original time zone by default.
This may be generated with
This may be generated with ``git show -s --pretty=reference <commit>`` with
Git 2.25 and newer. Older versions of Git can generate the same format via
``git show -s --date=short --pretty="format:%h (%s, %ad)" <commit>``.
If the commit is a fix for the mentioned commit, consider using a ``Fixes:``
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment