Skip to contentSkip to conversation

lazyload: fix typo in comment

PATCH In review Ophir Bleicher via GitGitGadget 4 participants 4 messages Nov 21 – Nov 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lazyload: fix typo in comment

From: Ophir Bleicher <[email protected]>

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 ')'.

---
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(-)
compat/win32/lazyload.h +1 -1
index f2bb96c89c..d348a89f9b 100644
@@ -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

Signature · 1 line
gitgitgadget
Acked-by on v1 1/1
#1 lore raw

Hi Ophir,

Quoted 9 lines · Ophir Bleicher via GitGitGadget

From: Ophir Bleicher <[email protected]>

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 ')'.

Yes, this was incorrect, and your fix is much appreciated.

Thank you,
Johannes

Quoted 31 lines

---
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(-)
compat/win32/lazyload.h +1 -1
index f2bb96c89c..d348a89f9b 100644
@@ -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

Signature · 1 line
gitgitgadget
#2 lore raw

Thank you!

Quoted 54 lines · Johannes Schindelin

Hi Ophir,

Quoted 9 lines · Ophir Bleicher via GitGitGadget

From: Ophir Bleicher <[email protected]>

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 ')'.

Yes, this was incorrect, and your fix is much appreciated.

Thank you,
Johannes

Quoted 31 lines

---
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(-)
compat/win32/lazyload.h +1 -1
index f2bb96c89c..d348a89f9b 100644
@@ -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

Signature · 1 line
gitgitgadget