# [PATCH] proto-v2 doc: mark-up fix

2 messages from 2022-05-03 to 2022-05-03. Participants: Junio C Hamano, Bagas Sanjaya.
Thread: https://gitlist.dev/t/57836

## Junio C Hamano, 2022-05-03 00:58

Subject: [PATCH] proto-v2 doc: mark-up fix
Message-ID: <xmqqczgvsa7k.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqczgvsa7k.fsf%40gitster.g

```
For some reason, the 'object-format' command was surrounded by extra
spaces with extra underline to match.

Noticed when "git grep '^object-format'" did not find this line.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/technical/protocol-v2.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git c/Documentation/technical/protocol-v2.txt w/Documentation/technical/protocol-v2.txt
index 8a877d27e2..c5051e4d29 100644
--- c/Documentation/technical/protocol-v2.txt
+++ w/Documentation/technical/protocol-v2.txt
@@ -514,8 +514,8 @@ a request.
 
 The provided options must not contain a NUL or LF character.
 
- object-format
-~~~~~~~~~~~~~~~
+object-format
+~~~~~~~~~~~~~
 
 The server can advertise the `object-format` capability with a value `X` (in the
 form `object-format=X`) to notify the client that the server is able to deal

```

## Bagas Sanjaya, 2022-05-03 07:20

Subject: Re: [PATCH] proto-v2 doc: mark-up fix
Message-ID: <YnDXqzdiEGNkCrdu@debian.me>
URL: https://gitlist.dev/e/YnDXqzdiEGNkCrdu%40debian.me
In-Reply-To: <xmqqczgvsa7k.fsf@gitster.g>

```
On Mon, May 02, 2022 at 05:58:55PM -0700, Junio C Hamano wrote:
>  The provided options must not contain a NUL or LF character.
>  
> - object-format
> -~~~~~~~~~~~~~~~
> +object-format
> +~~~~~~~~~~~~~
>  
>  The server can advertise the `object-format` capability with a value `X` (in the
>  form `object-format=X`) to notify the client that the server is able to deal

LGTM.

The mistake fixed by this patch doesn't affect the asciidoc output (only
tested with html), since the subheading is correctly rendered.

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

```
