mbox series

[00/20] Fix typos

Message ID pull.1794.git.1726770880.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series Fix typos | expand

Message

Derrick Stolee via GitGitGadget Sept. 19, 2024, 6:34 p.m. UTC
Fix typos in documentation, comments, etc.

Andrew Kreimer (20):
  config.mak.dev: fix a typo
  diffcore-rename: fix typos
  fsmonitor-settings: fix a typo
  git-instaweb: fix a typo
  git-p4: fix typos
  gpg-interface: fix a typo
  http: fix a typo
  merge-ll: fix a typo
  merge-ort: fix typos
  object-file: fix a typo
  pretty: fix a typo
  read-cache-ll: fix a typo
  rebase: fix a typo
  ref-filter: fix a typo
  refs: fix typos
  revision: fix a typo
  run-command: fix a typo
  setup: fix a typo
  sideband: fix a typo
  upload-pack: fix a typo

 config.mak.dev       | 2 +-
 diffcore-rename.c    | 4 ++--
 fsmonitor-settings.c | 2 +-
 git-instaweb.sh      | 2 +-
 git-p4.py            | 4 ++--
 gpg-interface.c      | 2 +-
 http.c               | 2 +-
 merge-ll.c           | 2 +-
 merge-ort.c          | 4 ++--
 object-file.c        | 2 +-
 pretty.c             | 2 +-
 read-cache-ll.h      | 2 +-
 rebase.c             | 2 +-
 ref-filter.c         | 2 +-
 refs.h               | 6 +++---
 revision.h           | 2 +-
 run-command.h        | 2 +-
 setup.c              | 2 +-
 sideband.c           | 2 +-
 upload-pack.c        | 2 +-
 20 files changed, 25 insertions(+), 25 deletions(-)


base-commit: 3fb745257b30a643ee78c9a7c52ab107c82e4745
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1794%2Falgonell%2Ffix-typos-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1794/algonell/fix-typos-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1794

Comments

Eric Sunshine Sept. 19, 2024, 7:35 p.m. UTC | #1
On Thu, Sep 19, 2024 at 2:35 PM Andrew Kreimer via GitGitGadget
<gitgitgadget@gmail.com> wrote:
> Fix typos in documentation, comments, etc.
>
> Andrew Kreimer (20):

Thanks. These all look fine.

Out of curiosity, did you use a tool to discover these mistakes?
Kristoffer Haugsbakk Sept. 19, 2024, 8:33 p.m. UTC | #2
All of these look correct.

Maybe all of the commits could be combined into one commit with the
message “treewide: fix typos”.  But that wasn’t asked for last time.[1]
So I dunno.


Junio C Hamano Sept. 19, 2024, 8:42 p.m. UTC | #3
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:

> All of these look correct.
>
> Maybe all of the commits could be combined into one commit with the
> message “treewide: fix typos”.  But that wasn’t asked for last time.[1]
> So I dunno.

It depends.  When done carefully to make sure that nothing textually
conflicts with any topics in flight, a single "treewide" patch is
slightly nicer.  If nothing conflicts with nothing else, either
format is fine.  If something have nasty conflicts (e.g., a refactor
moved the comment with typos far from the original location or even
to a different file), individual patch form is easier to discard the
ones that need to wait.

I do not know which case this 20-patch collection falls into.

Thanks.
Eric Sunshine Sept. 19, 2024, 8:54 p.m. UTC | #4
On Thu, Sep 19, 2024 at 4:42 PM Junio C Hamano <gitster@pobox.com> wrote:
> "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
> > Maybe all of the commits could be combined into one commit with the
> > message “treewide: fix typos”.  But that wasn’t asked for last time.[1]
> > So I dunno.
>
> It depends.  When done carefully to make sure that nothing textually
> conflicts with any topics in flight, a single "treewide" patch is
> slightly nicer.  If nothing conflicts with nothing else, either
> format is fine.  If something have nasty conflicts (e.g., a refactor
> moved the comment with typos far from the original location or even
> to a different file), individual patch form is easier to discard the
> ones that need to wait.
>
> I do not know which case this 20-patch collection falls into.

For what it's worth, I found the submission easier to review as
separate patches because it allowed me to review a small batch, do
something else for a bit, review another batch, do something else,
etc., without losing my place since I deleted the ones I had already
reviewed, so I knew that those remaining in my Inbox were still
pending review.
Junio C Hamano Sept. 19, 2024, 8:57 p.m. UTC | #5
Eric Sunshine <sunshine@sunshineco.com> writes:

> For what it's worth, I found the submission easier to review as
> separate patches because it allowed me to review a small batch, do
> something else for a bit, review another batch, do something else,
> etc., without losing my place since I deleted the ones I had already
> reviewed, so I knew that those remaining in my Inbox were still
> pending review.

It is a very good point.

FWIW, all except for one apply cleanly to both v2.46.0 and 'seen',
and one fixes a typo introduced between v2.46.0 and 'master'.

Will queue.
Thanks.
Andrew Kreimer Sept. 20, 2024, 7 a.m. UTC | #6
On Thu, Sep 19, 2024 at 03:35:25PM -0400, Eric Sunshine wrote:
> On Thu, Sep 19, 2024 at 2:35 PM Andrew Kreimer via GitGitGadget
> <gitgitgadget@gmail.com> wrote:
> > Fix typos in documentation, comments, etc.
> >
> > Andrew Kreimer (20):
> 
> Thanks. These all look fine.
> 
> Out of curiosity, did you use a tool to discover these mistakes?

Thank you all!

Sure, my secret sauce is codespell:
https://github.com/codespell-project/codespell