{"thread":{"id":"66906","subject":"[PATCH] lazyload: fix typo in comment","startedAt":"2026-11-21T15:44:02Z","lastAt":"2026-11-22T19:33:44Z","messageCount":4,"participants":["Ophir Bleicher via GitGitGadget","Johannes Schindelin","Ophir Bleicher","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"559035","messageId":"pull.2497.git.git.1795275842564.gitgitgadget@gmail.com","threadId":"66906","inReplyTo":null,"subject":"[PATCH] lazyload: fix typo in comment","fromName":"Ophir Bleicher via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2026-11-21T15:44:02Z","receivedAt":"2026-11-21T15:44:02Z","isPatch":true,"sender":{"key":"name:Ophir Bleicher","avatar":null},"body":"From: Ophir Bleicher <ophirble@gmail.com>\n\nFix a typo on line 11 of compat/win32/lazyload.h, inside a comment.\nThat comment shows an example of function usage, without a closing\nparentheses:\n\nreturn error(\"Could not find CreateHardLinkW() function\";\n\nThere isn't any closing ')'.\n\nSigned-off-by: Ophir Bleicher <ophirble@gmail.com>\n---\n    lazyload: fix typo in comment\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2497%2FOphirBleicher%2Ffix-typo-lazyload-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2497/OphirBleicher/fix-typo-lazyload-v1\nPull-Request: https://github.com/git/git/pull/2497\n\n compat/win32/lazyload.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/compat/win32/lazyload.h b/compat/win32/lazyload.h\nindex f2bb96c89c..d348a89f9b 100644\n--- a/compat/win32/lazyload.h\n+++ b/compat/win32/lazyload.h\n@@ -8,7 +8,7 @@\n  *                     LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);\n  *\n  *   if (!INIT_PROC_ADDR(CreateHardLinkW))\n- *           return error(\"Could not find CreateHardLinkW() function\";\n+ *           return error(\"Could not find CreateHardLinkW() function\");\n  *\n  *   if (!CreateHardLinkW(source, target, NULL))\n  *           return error(\"could not create hardlink from %S to %S\",\n\nbase-commit: f7de81456940dd6f3274e461149bba12965de609\n-- \ngitgitgadget\n\n"},{"id":"559036","messageId":"97cb053a-07a2-c840-c8c6-d1455b282580@gmx.de","threadId":"66906","inReplyTo":"pull.2497.git.git.1795275842564.gitgitgadget@gmail.com","subject":"Re: [PATCH] lazyload: fix typo in comment","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2026-11-21T16:04:10Z","receivedAt":"2026-11-21T16:04:10Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Ophir,\n\nOn Sat, 21 Nov 2026, Ophir Bleicher via GitGitGadget wrote:\n\n> From: Ophir Bleicher <ophirble@gmail.com>\n> \n> Fix a typo on line 11 of compat/win32/lazyload.h, inside a comment.\n> That comment shows an example of function usage, without a closing\n> parentheses:\n> \n> return error(\"Could not find CreateHardLinkW() function\";\n> \n> There isn't any closing ')'.\n\nYes, this was incorrect, and your fix is much appreciated.\n\nAcked-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n\nThank you,\nJohannes\n\n> \n> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n> ---\n>     lazyload: fix typo in comment\n> \n> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2497%2FOphirBleicher%2Ffix-typo-lazyload-v1\n> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2497/OphirBleicher/fix-typo-lazyload-v1\n> Pull-Request: https://github.com/git/git/pull/2497\n> \n>  compat/win32/lazyload.h | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n> \n> diff --git a/compat/win32/lazyload.h b/compat/win32/lazyload.h\n> index f2bb96c89c..d348a89f9b 100644\n> --- a/compat/win32/lazyload.h\n> +++ b/compat/win32/lazyload.h\n> @@ -8,7 +8,7 @@\n>   *                     LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);\n>   *\n>   *   if (!INIT_PROC_ADDR(CreateHardLinkW))\n> - *           return error(\"Could not find CreateHardLinkW() function\";\n> + *           return error(\"Could not find CreateHardLinkW() function\");\n>   *\n>   *   if (!CreateHardLinkW(source, target, NULL))\n>   *           return error(\"could not create hardlink from %S to %S\",\n> \n> base-commit: f7de81456940dd6f3274e461149bba12965de609\n> -- \n> gitgitgadget\n> \n> \n\n"},{"id":"559037","messageId":"08E0332F-86DE-4501-8566-895E6ECEEDA5@gmail.com","threadId":"66906","inReplyTo":"97cb053a-07a2-c840-c8c6-d1455b282580@gmx.de","subject":"Re: [PATCH] lazyload: fix typo in comment","fromName":"Ophir Bleicher","fromEmail":"ophirble@gmail.com","sentAt":"2026-11-21T16:13:00Z","receivedAt":"2026-11-21T16:13:00Z","isPatch":true,"sender":{"key":"ophirble@gmail.com","avatar":null},"body":"Thank you!\n\n> On 21 Nov 2026, at 18:04, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:\n> \n> Hi Ophir,\n> \n> On Sat, 21 Nov 2026, Ophir Bleicher via GitGitGadget wrote:\n> \n>> From: Ophir Bleicher <ophirble@gmail.com>\n>> \n>> Fix a typo on line 11 of compat/win32/lazyload.h, inside a comment.\n>> That comment shows an example of function usage, without a closing\n>> parentheses:\n>> \n>> return error(\"Could not find CreateHardLinkW() function\";\n>> \n>> There isn't any closing ')'.\n> \n> Yes, this was incorrect, and your fix is much appreciated.\n> \n> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n> \n> Thank you,\n> Johannes\n> \n>> \n>> Signed-off-by: Ophir Bleicher <ophirble@gmail.com>\n>> ---\n>>    lazyload: fix typo in comment\n>> \n>> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2497%2FOphirBleicher%2Ffix-typo-lazyload-v1\n>> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2497/OphirBleicher/fix-typo-lazyload-v1\n>> Pull-Request: https://github.com/git/git/pull/2497\n>> \n>> compat/win32/lazyload.h | 2 +-\n>> 1 file changed, 1 insertion(+), 1 deletion(-)\n>> \n>> diff --git a/compat/win32/lazyload.h b/compat/win32/lazyload.h\n>> index f2bb96c89c..d348a89f9b 100644\n>> --- a/compat/win32/lazyload.h\n>> +++ b/compat/win32/lazyload.h\n>> @@ -8,7 +8,7 @@\n>>  *                     LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);\n>>  *\n>>  *   if (!INIT_PROC_ADDR(CreateHardLinkW))\n>> - *           return error(\"Could not find CreateHardLinkW() function\";\n>> + *           return error(\"Could not find CreateHardLinkW() function\");\n>>  *\n>>  *   if (!CreateHardLinkW(source, target, NULL))\n>>  *           return error(\"could not create hardlink from %S to %S\",\n>> \n>> base-commit: f7de81456940dd6f3274e461149bba12965de609\n>> -- \n>> gitgitgadget\n>> \n>> \n\n\n"},{"id":"559113","messageId":"xmqqmrr0k6ef.fsf@gitster.g","threadId":"66906","inReplyTo":"97cb053a-07a2-c840-c8c6-d1455b282580@gmx.de","subject":"Re: [PATCH] lazyload: fix typo in comment","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-11-22T19:33:44Z","receivedAt":"2026-11-22T19:33:44Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n\n>> parentheses:\n>> \n>> return error(\"Could not find CreateHardLinkW() function\";\n>> \n>> There isn't any closing ')'.\n>\n> Yes, this was incorrect, and your fix is much appreciated.\n>\n> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n\nLooks good.\n\nWill pick-up, and mark the topic as ready for 'next'.\nThanks for writing and reviewing, both of you.\n\n"}]}