"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: got(1): Replace 'Ar sign' with 'Cm sign'
To:
gameoftrees@openbsd.org
Date:
Tue, 16 Aug 2022 11:22:06 +0200

Download raw body.

Thread
On Mon, Aug 15, 2022 at 06:41:22PM -0400, Josiah Frentsos wrote:
> diff 79b6c20a80ee36b0e7de31e296a61ec2d2ddce6a 9d1777fc734520faa5be9ae9efdb20e88071eaaa

Committed, thank you.

I was unsure at first, since Ar is commonly used for option arguments.
So I checked ssh-keygen.1 and found that this page is also using 'Cm sign'
and 'Cm verify' in combination with Fl Y. (The ssh-keygen.1 page is a bit
inconsistent and also uses Ar in at least one case, but Cm is used more often.

> commit - 79b6c20a80ee36b0e7de31e296a61ec2d2ddce6a
> commit + 9d1777fc734520faa5be9ae9efdb20e88071eaaa
> blob - 08f2e27e6f1dc270bf76d6c95bca6a920b1921d8
> blob + d629445e1b234fb60ebb1aa76195a8d2283e029a
> --- got/got.1
> +++ got/got.1
> @@ -1238,7 +1238,7 @@ or a public SSH key with the private half available vi
>  will sign the tag object by invoking
>  .Xr ssh-keygen 1
>  with the
> -.Fl Y Ar sign
> +.Fl Y Cm sign
>  command, using the signature namespace
>  .Dq git
>  for compatibility with
> @@ -1254,7 +1254,7 @@ Otherwise, list all tag objects and verify signatures 
>  verifies SSH-based signatures by invoking
>  .Xr ssh-keygen 1
>  with the options
> -.Fl Y Ar verify Fl f Ar allowed_signers .
> +.Fl Y Cm verify Fl f Ar allowed_signers .
>  A path to the
>  .Ar allowed_signers
>  file must be set in
> 
>