# [PATCH] pretty: fix a typo in the documentation for %(trailers)

3 messages from 2021-05-12 to 2021-05-12. Participants: Louis Sautier via GitGitGadget, Bagas Sanjaya, Junio C Hamano.
Thread: https://gitlist.dev/t/55672

## Louis Sautier via GitGitGadget, 2021-05-12 11:18

Subject: [PATCH] pretty: fix a typo in the documentation for %(trailers)
Message-ID: <pull.1023.git.git.1620818283024.gitgitgadget@gmail.com>
URL: https://gitlist.dev/e/pull.1023.git.git.1620818283024.gitgitgadget%40gmail.com

```
From: Louis Sautier <sautier.louis@gmail.com>

This just changes occurance to occurrence.

Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
---
    pretty: fix a typo in the documentation for %(trailers)
    
    Hi,
    
    Here is a very minor change: occurance → occurrence ?

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1023%2Fsbraz%2Ftypo-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1023/sbraz/typo-v1
Pull-Request: https://github.com/git/git/pull/1023

 Documentation/pretty-formats.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index cd697f508c53..ea9b26c3f734 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -271,7 +271,7 @@ endif::git-rev-list[]
 			  `trailers` string may be followed by a colon
 			  and zero or more comma-separated options.
 			  If any option is provided multiple times the
-			  last occurance wins.
+			  last occurrence wins.
 +
 The boolean options accept an optional value `[=<BOOL>]`. The values
 `true`, `false`, `on`, `off` etc. are all accepted. See the "boolean"

base-commit: a0f521b56c724f4e21eef1cec2d456b1dbd72c10
-- 
gitgitgadget

```

## Bagas Sanjaya, 2021-05-12 13:12

Subject: Re: [PATCH] pretty: fix a typo in the documentation for %(trailers)
Message-ID: <b81b5625-db23-7fbe-a122-bce08d61b2e9@gmail.com>
URL: https://gitlist.dev/e/b81b5625-db23-7fbe-a122-bce08d61b2e9%40gmail.com
In-Reply-To: <pull.1023.git.git.1620818283024.gitgitgadget@gmail.com>

```
Hi Louis, welcome to Git mailing list!

On 12/05/21 18.18, Louis Sautier via GitGitGadget wrote:
> From: Louis Sautier <sautier.louis@gmail.com>
> 
> This just changes occurance to occurrence.
> 

The commit message is essentially occurance/occurrence.

> Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
> ---
>      pretty: fix a typo in the documentation for %(trailers)
>      
>      Hi,
>      
>      Here is a very minor change: occurance → occurrence ?
> 
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1023%2Fsbraz%2Ftypo-v1
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1023/sbraz/typo-v1
> Pull-Request: https://github.com/git/git/pull/1023
> 
>   Documentation/pretty-formats.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
> index cd697f508c53..ea9b26c3f734 100644
> --- a/Documentation/pretty-formats.txt
> +++ b/Documentation/pretty-formats.txt
> @@ -271,7 +271,7 @@ endif::git-rev-list[]
>   			  `trailers` string may be followed by a colon
>   			  and zero or more comma-separated options.
>   			  If any option is provided multiple times the
> -			  last occurance wins.
> +			  last occurrence wins.

That's the correct spelling. Looks OK.

>   +
>   The boolean options accept an optional value `[=<BOOL>]`. The values
>   `true`, `false`, `on`, `off` etc. are all accepted. See the "boolean"
> 
> base-commit: a0f521b56c724f4e21eef1cec2d456b1dbd72c10
> 

Thanks.

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

```

## Junio C Hamano, 2021-05-12 22:48

Subject: Re: [PATCH] pretty: fix a typo in the documentation for %(trailers)
Message-ID: <xmqqv97nefgv.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqv97nefgv.fsf%40gitster.g
In-Reply-To: <pull.1023.git.git.1620818283024.gitgitgadget@gmail.com>

```
"Louis Sautier via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: Louis Sautier <sautier.louis@gmail.com>
>
> This just changes occurance to occurrence.
>
> Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
> ---
>     pretty: fix a typo in the documentation for %(trailers)
>     
>     Hi,
>     
>     Here is a very minor change: occurance → occurrence ?

Thanks.

> diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
> index cd697f508c53..ea9b26c3f734 100644
> --- a/Documentation/pretty-formats.txt
> +++ b/Documentation/pretty-formats.txt
> @@ -271,7 +271,7 @@ endif::git-rev-list[]
>  			  `trailers` string may be followed by a colon
>  			  and zero or more comma-separated options.
>  			  If any option is provided multiple times the
> -			  last occurance wins.
> +			  last occurrence wins.
>  +
>  The boolean options accept an optional value `[=<BOOL>]`. The values
>  `true`, `false`, `on`, `off` etc. are all accepted. See the "boolean"
>
> base-commit: a0f521b56c724f4e21eef1cec2d456b1dbd72c10

```
