threads / patch / 55672

patchpretty: fix a typo in the documentation for %(trailers)

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

## tl;dr

3 messages between May 12, 2021 and May 12, 2021. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Louis Sautier via GitGitGadget· May 12, 2021, 11:18 UTC · lore
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(-)
Show changes to Documentation/pretty-formats.txt +1 −1
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· May 12, 2021, 13:12 UTC · re: Louis Sautier via GitGitGadget · lore

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

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.
Show 25 quoted lines
> 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.
Show 6 quoted lines
>   +
>   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· May 12, 2021, 22:48 UTC · re: Louis Sautier via GitGitGadget · lore

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

"Louis Sautier via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 11 quoted lines
> 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.
Show 15 quoted lines
> 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

← back to recent threads