git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Fix a couple of typos in the v2.39.0 release notes
@ 2022-12-08 14:48 Johannes Schindelin via GitGitGadget
  2022-12-09  2:02 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2022-12-08 14:48 UTC (permalink / raw)
  To: git; +Cc: Johannes Schindelin, Johannes Schindelin

From: Johannes Schindelin <johannes.schindelin@gmx.de>

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
    Fix a couple of typos in the v2.39.0 release notes
    
    I cheated: I used VS Code's "Code Spell Checker" ;-)

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1442%2Fdscho%2Frelease-notes-typos-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1442/dscho/release-notes-typos-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1442

 Documentation/RelNotes/2.39.0.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/RelNotes/2.39.0.txt b/Documentation/RelNotes/2.39.0.txt
index 3b8b0c010f9..1eb16534776 100644
--- a/Documentation/RelNotes/2.39.0.txt
+++ b/Documentation/RelNotes/2.39.0.txt
@@ -194,7 +194,7 @@ Fixes since v2.38
  * Force C locale while running tests around httpd to make sure we can
    find expected error messages in the log.
 
- * Fix a logic in "mailinfo -b" that miscomputed the length of a
+ * Fix a logic in "mailinfo -b" that mis-computed the length of a
    substring, which lead to an out-of-bounds access.
 
  * The codepath to sign learned to report errors when it fails to read
@@ -214,7 +214,7 @@ Fixes since v2.38
  * Clarify that "the sentence after <area>: prefix does not begin with
    a capital letter" rule applies only to the commit title.
 
- * "git branch --edit-description" on an unborh branch misleadingly
+ * "git branch --edit-description" on an unborn branch misleadingly
    said that no such branch exists, which has been corrected.
 
  * Work around older clang that warns against C99 zero initialization
@@ -264,7 +264,7 @@ Fixes since v2.38
 
  * "git diff --stat" etc. were invented back when everything was ASCII
    and strlen() was a way to measure the display width of a string;
-   adjust them to compute the display width assuming UTF-8 pathnames.
+   adjust them to compute the display width assuming UTF-8 path names.
    (merge ce8529b2bb tb/diffstat-with-utf8-strwidth later to maint).
 
  * "git branch --edit-description" can exit with status -1 which is
@@ -289,7 +289,7 @@ Fixes since v2.38
    option now implies --reapply-cherry-picks and --no-fork-point
    options.
 
- * The way "git repack" creared temporary files when it received a
+ * The way "git repack" created temporary files when it received a
    signal was prone to deadlocking, which has been corrected.
 
  * Various tests exercising the transfer.credentialsInUrl

base-commit: 2e71cbbddd64695d43383c25c7a054ac4ff86882
-- 
gitgitgadget

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix a couple of typos in the v2.39.0 release notes
  2022-12-08 14:48 [PATCH] Fix a couple of typos in the v2.39.0 release notes Johannes Schindelin via GitGitGadget
@ 2022-12-09  2:02 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2022-12-09  2:02 UTC (permalink / raw)
  To: Johannes Schindelin via GitGitGadget; +Cc: git, Johannes Schindelin

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com>
writes:

> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>     Fix a couple of typos in the v2.39.0 release notes
>     
>     I cheated: I used VS Code's "Code Spell Checker" ;-)

Cheating is good.  Automation is good.  Thanks.

> diff --git a/Documentation/RelNotes/2.39.0.txt b/Documentation/RelNotes/2.39.0.txt
> index 3b8b0c010f9..1eb16534776 100644
> --- a/Documentation/RelNotes/2.39.0.txt
> +++ b/Documentation/RelNotes/2.39.0.txt
> @@ -194,7 +194,7 @@ Fixes since v2.38
>   * Force C locale while running tests around httpd to make sure we can
>     find expected error messages in the log.
>  
> - * Fix a logic in "mailinfo -b" that miscomputed the length of a
> + * Fix a logic in "mailinfo -b" that mis-computed the length of a

I'd scatch this, as we'd rather keep a spelling that we can even
find at https://m-w.com/dictionary/miscompute without the dash in
between.

> @@ -214,7 +214,7 @@ Fixes since v2.38
>   * Clarify that "the sentence after <area>: prefix does not begin with
>     a capital letter" rule applies only to the commit title.
>  
> - * "git branch --edit-description" on an unborh branch misleadingly
> + * "git branch --edit-description" on an unborn branch misleadingly

Thanks.  'h' and 'n' not just sit next to each other on my keyboard,
they look somewhat similar ;-)

> @@ -264,7 +264,7 @@ Fixes since v2.38
>  
>   * "git diff --stat" etc. were invented back when everything was ASCII
>     and strlen() was a way to measure the display width of a string;
> -   adjust them to compute the display width assuming UTF-8 pathnames.
> +   adjust them to compute the display width assuming UTF-8 path names.
>     (merge ce8529b2bb tb/diffstat-with-utf8-strwidth later to maint).

I dunno.  Even without trying to get accurate counts, we can see the
general trend of which one we prefer:

 $ git grep -e 'pathname' Documentation ':!Documentation/RelNotes' | wc -l
 124
 $ git grep -e 'path name' Documentation ':!Documentation/RelNotes' | wc -l
 28
	
In the above, RelNotes/ subhierarchy is excluded to avoid counting _my_
preference too much.

I didn't manage to find any authoritative reference, but the snippets
given on a query

https://letmegooglethat.com/?q=%22pathname%22%20vs%20%22path%20name%22

were fun.  I even saw some claims that "pathnames are sometimes
spelled as path names", which is pretty much in line with what I saw
in these snippets.

>   * "git branch --edit-description" can exit with status -1 which is
> @@ -289,7 +289,7 @@ Fixes since v2.38
>     option now implies --reapply-cherry-picks and --no-fork-point
>     options.
>  
> - * The way "git repack" creared temporary files when it received a
> + * The way "git repack" created temporary files when it received a

Thanks.  That's another good one.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-09  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 14:48 [PATCH] Fix a couple of typos in the v2.39.0 release notes Johannes Schindelin via GitGitGadget
2022-12-09  2:02 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).