From: Sean Allred Date: Fri, 19 May 2023 03:51:36 GMT Subject: Re: [PATCH v3 1/6] show-ref doc: update for internal consistency Message-ID: In-Reply-To: Junio C Hamano writes: > Eric Sunshine writes: > >> On Mon, May 15, 2023 at 8:13 AM Sean Allred via GitGitGadget >> wrote: >>> - Use inline-code syntax for options where appropriate. >>> - Use code blocks to clarify output format. >>> >>> This patch also swaps out 'SHA-1' language for the implementation- >>> agnostic 'OID' term where appropriate in preparation for supporting >>> different hashing algorithms. >>> >>> Signed-off-by: Sean Allred >>> --- >>> diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt >>> @@ -96,7 +96,13 @@ OPTIONS >>> -The output is in the format: '' '' ''. >>> +The output is in the format: >>> + >>> +------------ >>> + SP LF >>> +------------ >>> $ git show-ref --head --dereference >>> @@ -110,7 +116,13 @@ $ git show-ref --head --dereference >>> -When using --hash (and not --dereference) the output format is: '' >>> +When using `--hash` (and not `--dereference`), the output is in the format: >>> + >>> +------------ >>> + LF >>> +------------ >>> $ git show-ref --heads --hash >> >> Is the difference in case ("" vs. "") intentional between >> these two examples? > > I think it is an incomplete fix based on the suggestion I made for > the previous round, > > cf. https://lore.kernel.org/git/xmqqsfdwenn3.fsf@gitster.g/ Nice catch; this has been fixed for the next iteration. -- Sean Allred