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

[PATCH 1/7] compat: fix typos

From
Andrew Kreimer <algonell@gmail.com>
Date
Oct 9, 2024, 11:49 UTC
Message-ID
<20241009114940.520486-2-algonell@gmail.com>
In-Reply-To
<20241009114940.520486-1-algonell@gmail.com>
Fix typos via codespell.
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
 compat/fsmonitor/fsm-listen-win32.c | 4 ++--
 compat/regex/regexec.c              | 2 +-
 compat/simple-ipc/ipc-unix-socket.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/compat/fsmonitor/fsm-listen-win32.c b/compat/fsmonitor/fsm-listen-win32.c
index 80e092b511..9a6efc9bea 100644
--- a/compat/fsmonitor/fsm-listen-win32.c
+++ b/compat/fsmonitor/fsm-listen-win32.c
@@ -431,9 +431,9 @@ static int recv_rdcw_watch(struct one_watch *watch)
 	 * but I observed ERROR_ACCESS_DENIED (0x05) errors during
 	 * testing.
 	 *
-	 * Note that we only get notificaiton events for events
+	 * Note that we only get notification events for events
 	 * *within* the directory, not *on* the directory itself.
-	 * (These might be properies of the parent directory, for
+	 * (These might be properties of the parent directory, for
 	 * example).
 	 *
 	 * NEEDSWORK: We might try to check for the deleted directory
diff --git a/compat/regex/regexec.c b/compat/regex/regexec.c
index e92be5741d..15ab2d1d40 100644
--- a/compat/regex/regexec.c
+++ b/compat/regex/regexec.c
@@ -292,7 +292,7 @@ compat_symbol (libc, __compat_regexec, regexec, GLIBC_2_0);
    concerned.
 
    If REGS is not NULL, and BUFP->no_sub is not set, the offsets of the match
-   and all groups is stroed in REGS.  (For the "_2" variants, the offsets are
+   and all groups is stored in REGS.  (For the "_2" variants, the offsets are
    computed relative to the concatenation, not relative to the individual
    strings.)
 
diff --git a/compat/simple-ipc/ipc-unix-socket.c b/compat/simple-ipc/ipc-unix-socket.c
index 57d919c6b4..7db3b2a897 100644
--- a/compat/simple-ipc/ipc-unix-socket.c
+++ b/compat/simple-ipc/ipc-unix-socket.c
@@ -713,7 +713,7 @@ static int accept_thread__wait_for_connection(
  * Block SIGPIPE in this thread for the life of the thread.  This
  * avoids any stray SIGPIPE signals when closing pipe fds under
  * extremely heavy loads (such as when the fifo queue is full and we
- * drop incomming connections).
+ * drop incoming connections).
  */
 static void *accept_thread_proc(void *_accept_thread_data)
 {
-- 
2.39.5
Previous: Andrew KreimerNext: Patrick Steinhardt
Message 2 of 10 in “Fix typos”
  1. 0/7 Fix typosAndrew Kreimer, Oct 9, 2024
  2. 1/7 compat: fix typosAndrew Kreimer, Oct 9, 2024
  3. Patrick SteinhardtOct 10, 2024
  4. Andrew KreimerOct 10, 2024
  5. 2/7 contrib: fix typosAndrew Kreimer, Oct 9, 2024
  6. 3/7 git-gui: Fix typosAndrew Kreimer, Oct 9, 2024
  7. 4/7 t: fix typosAndrew Kreimer, Oct 9, 2024
  8. 5/7 t/perf: fix typosAndrew Kreimer, Oct 9, 2024
  9. 6/7 t/unit-tests: fix typosAndrew Kreimer, Oct 9, 2024
  10. 7/7 t/helper: fix a typoAndrew Kreimer, Oct 9, 2024

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.