Subject: Re: [PATCH v4 1/2] name-rev: deprecate --stdin in favor of --annotate-stdin

From: Junio C Hamano <[email-masked]>
Date: Tue, 04 Jan 2022 14:12:10 -0800

"John Cai via GitGitGadget" <[email-masked]> writes:

> +	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