lazyload: fix typo in comment
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
@@ -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
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
Signed-off-by Ophir Bleicher <[email protected]>---
lazyload: fix typo in commentPublished-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/2497compat/win32/lazyload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)compat/win32/lazyload.h +1
-1@@ -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:
f7de81456940dd6f3274e461149bba12965de609Signature · 1 line
gitgitgadget
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,
JohannesQuoted 31 lines
Signed-off-by Ophir Bleicher <[email protected]>---
lazyload: fix typo in commentPublished-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@@ -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:
f7de81456940dd6f3274e461149bba12965de609Signature · 1 line
gitgitgadget
Quoted 9 lines · Johannes Schindelin
Quoted 5 lines
parentheses:
return error("Could not find
CreateHardLinkW()function";There isn't any closing ')'.
Yes, this was incorrect, and your fix is much appreciated.
Looks good.
Will pick-up, and mark the topic as ready for 'next'. Thanks for writing and reviewing, both of you.