summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-05 12:18:05 +0200
committerDimitris Apostolou <dimitris.apostolou@icloud.com>2022-01-05 16:35:52 +0200
commit90df43022a011f23f13b7a77a956e3f64e4134a5 (patch)
treeb7a0a0e24c5dae8bdb277954c33f75d822503af6 /src/win32
parent82f526a9129373d899782c411774c8e396cae4e4 (diff)
downloadlibgit2-90df43022a011f23f13b7a77a956e3f64e4134a5.tar.gz
Fix typos
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/path_w32.c2
-rw-r--r--src/win32/posix_w32.c2
-rw-r--r--src/win32/w32_leakcheck.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/win32/path_w32.c b/src/win32/path_w32.c
index 5d7ad11f6..0e6aff748 100644
--- a/src/win32/path_w32.c
+++ b/src/win32/path_w32.c
@@ -41,7 +41,7 @@ GIT_INLINE(int) path__cwd(wchar_t *path, int size)
}
/* The Win32 APIs may return "\\?\" once you've used it first.
- * But it may not. What a gloriously predictible API!
+ * But it may not. What a gloriously predictable API!
*/
if (wcsncmp(path, PATH__NT_NAMESPACE, PATH__NT_NAMESPACE_LEN))
return len;
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c
index ba46b5ea9..b6072411d 100644
--- a/src/win32/posix_w32.c
+++ b/src/win32/posix_w32.c
@@ -441,7 +441,7 @@ int p_symlink(const char *target, const char *path)
* not want to use `git_win32_path_from_utf8` for converting the target,
* as that function will automatically pre-pend the current working
* directory in case the path is not absolute. As Git will instead use
- * relative symlinks, this is not someting we want.
+ * relative symlinks, this is not something we want.
*/
if (git_win32_path_from_utf8(path_w, path) < 0 ||
git_win32_path_relative_from_utf8(target_w, target) < 0)
diff --git a/src/win32/w32_leakcheck.c b/src/win32/w32_leakcheck.c
index 5c8425be3..0f095de12 100644
--- a/src/win32/w32_leakcheck.c
+++ b/src/win32/w32_leakcheck.c
@@ -199,7 +199,7 @@ int git_win32_leakcheck_stack(
return 0;
}
-/* Strack tracing */
+/* Stack tracing */
#define STACKTRACE_UID_LEN (15)