Re: [PATCH v4 1/2] name-rev: deprecate --stdin in favor of --annotate-stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 4, 2022, 22:12 UTC
- Message-ID
- <xmqqzgob9mmd.fsf@gitster.g>
- In-Reply-To
- <4e9200922a4c2c91e69e3b497fbf4c8702046a27.1641307776.git.gitgitgadget@gmail.com>
"John Cai via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> + altogether. > + > +For example: > + > +---------- > +$ cat sample.txt
Because this example is a part of description of `--annotate-stdin`, not an example after a list that ends with `--annotate-stdin`, you would want to tweak the above a bit.
diff --git i/Documentation/git-name-rev.txt w/Documentation/git-name-rev.txt index 96e8fd5ea4..0f32d74de0 100644 --- i/Documentation/git-name-rev.txt +++ w/Documentation/git-name-rev.txt @@ -47,9 +47,9 @@ OPTIONS hexes (say $hex) with "$hex ($rev_name)". When used with --name-only, substitute with "$rev_name", omitting $hex altogether. - ++ For example: - ++ ---------- $ cat sample.txt