git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-check-ref-format: fix typo in man page

From
Jacob Keller <jacob.keller@gmail.com>
Date
Feb 19, 2017, 00:17 UTC
Message-ID
<CA+P7+xrNb8xdbjFFAVVRDNe4Mho764PKYCbrLWmu4ykzU9A5dA@mail.gmail.com>
In-Reply-To
<c27d7861-b161-a3eb-fcfc-bf766fc7b20b@gmail.com>
On Sat, Feb 18, 2017 at 2:47 PM, Damien Regad <dregad@mantisbt.org> wrote:
Show 16 quoted lines
>
> ---
>  Documentation/git-check-ref-format.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-check-ref-format.txt
> b/Documentation/git-check-ref-format.txt
> index 8611a99..377c85a 100644
> --- a/Documentation/git-check-ref-format.txt
> +++ b/Documentation/git-check-ref-format.txt
> @@ -100,7 +100,7 @@ OPTIONS
>  --normalize::
>         Normalize 'refname' by removing any leading slash (`/`)
>         characters and collapsing runs of adjacent slashes between
> -       name components into a single slash.  Iff the normalized
> +       name components into a single slash.  If the normalized

I think this is a good change, but I do know in some contexts, "Iff" is used intentionally to mean "If and only if". It's somewhat unlikely that's what was going on here, and I don't think we need to be that pedantic in our help documentation anyway.

Thanks, Jake

Show 7 quoted lines
>         refname is valid then print it to standard output and exit
>         with a status of 0.  (`--print` is a deprecated way to spell
>         `--normalize`.)
> --
> 2.7.4
>
>
Previous: Damien RegadNext: Philip Oakley
Message 2 of 6 in “git-check-ref-format: fix typo in man page”
  1. git-check-ref-format: fix typo in man pageDamien Regad, Feb 18, 2017
  2. Jacob KellerFeb 19, 2017
  3. Philip OakleyFeb 19, 2017
  4. Jeff KingFeb 19, 2017
  5. Philip OakleyFeb 19, 2017
  6. Damien RegadFeb 19, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.