diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-03-25 16:16:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-25 16:16:34 -0700 |
commit | 0cb25d17445f848df13b971cb866c63c8f273b01 (patch) | |
tree | 8728c224707f6b5c83d3fe8ccf1edbce7a1b91d4 /Documentation/rev-list-options.txt | |
parent | a7f0fcb335cdd01a01e22fe80bc66c3eee2d9f38 (diff) | |
parent | 67471bc704434412b367b570ad330330354598ed (diff) | |
download | git-0cb25d17445f848df13b971cb866c63c8f273b01.tar.gz |
Merge branch 'ja/doc-formatting-fix'
Documentation mark-up fix.
* ja/doc-formatting-fix:
doc: fix some placeholders formating
doc: format alternatives in synopsis
Diffstat (limited to 'Documentation/rev-list-options.txt')
-rw-r--r-- | Documentation/rev-list-options.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 408d9314d0..00ccf68744 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -316,12 +316,12 @@ list. With `--pretty` format other than `oneline` and `reference` (for obvious reasons), this causes the output to have two extra lines of information taken from the reflog. The reflog designator in the output may be shown -as `ref@{Nth}` (where `Nth` is the reverse-chronological index in the -reflog) or as `ref@{timestamp}` (with the timestamp for that entry), +as `ref@{<Nth>}` (where _<Nth>_ is the reverse-chronological index in the +reflog) or as `ref@{<timestamp>}` (with the _<timestamp>_ for that entry), depending on a few rules: + -- -1. If the starting point is specified as `ref@{Nth}`, show the index +1. If the starting point is specified as `ref@{<Nth>}`, show the index format. + 2. If the starting point was specified as `ref@{now}`, show the |