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

[PATCH] lazyload: fix typo in comment

From
OGOphir Bleicher via GitGitGadget <gitgitgadget@gmail.com>
Date
Nov 21, 2026, 15:44 UTC
Message-ID
<pull.2497.git.git.1795275842564.gitgitgadget@gmail.com>
From: Ophir Bleicher <ophirble@gmail.com>

Fix a typo on line 11 of compat/win32/lazyload.h, inside a comment. That comment shows an example of function usage, without a closing parentheses:

return error("Could not find CreateHardLinkW() function";
There isn't any closing ')'.
Signed-off-by: Ophir Bleicher <ophirble@gmail.com>
---
    lazyload: fix typo in comment
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2497%2FOphirBleicher%2Ffix-typo-lazyload-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2497/OphirBleicher/fix-typo-lazyload-v1
Pull-Request: https://github.com/git/git/pull/2497
 compat/win32/lazyload.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat/win32/lazyload.h b/compat/win32/lazyload.h
index f2bb96c89c..d348a89f9b 100644
--- a/compat/win32/lazyload.h
+++ b/compat/win32/lazyload.h
@@ -8,7 +8,7 @@
  *                     LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
  *
  *   if (!INIT_PROC_ADDR(CreateHardLinkW))
- *           return error("Could not find CreateHardLinkW() function";
+ *           return error("Could not find CreateHardLinkW() function");
  *
  *   if (!CreateHardLinkW(source, target, NULL))
  *           return error("could not create hardlink from %S to %S",

base-commit: f7de81456940dd6f3274e461149bba12965de609
-- 
gitgitgadget
Next: Johannes Schindelin
Message 1 of 4 in “lazyload: fix typo in comment”
  1. lazyload: fix typo in commentOphir Bleicher via GitGitGadget, Nov 21, 2026
  2. Johannes SchindelinNov 21, 2026
  3. Ophir BleicherNov 21, 2026
  4. Junio C HamanoNov 22, 2026

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.