Update `git_win32_path_remove_namespace` to disambiguate the prefix being removed versus the prefix being added. Now we remove the "namespace", and (may) add a "prefix" in its place. Eg, we remove the `\\?\` namespace. We remove the `\\?\UNC\` namespace, and replace it with the `\\` prefix. This aids readability somewhat. Additionally, use pointer arithmetic instead of offsets, which seems to also help readability.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dir.c | Loading commit data... | |
dir.h | Loading commit data... | |
error.c | Loading commit data... | |
error.h | Loading commit data... | |
findfile.c | Loading commit data... | |
findfile.h | Loading commit data... | |
git2.rc | Loading commit data... | |
map.c | Loading commit data... | |
mingw-compat.h | Loading commit data... | |
msvc-compat.h | Loading commit data... | |
path_w32.c | Loading commit data... | |
path_w32.h | Loading commit data... | |
posix.h | Loading commit data... | |
posix_w32.c | Loading commit data... | |
precompiled.c | Loading commit data... | |
precompiled.h | Loading commit data... | |
reparse.h | Loading commit data... | |
thread.c | Loading commit data... | |
thread.h | Loading commit data... | |
utf-conv.c | Loading commit data... | |
utf-conv.h | Loading commit data... | |
version.h | Loading commit data... | |
w32_buffer.c | Loading commit data... | |
w32_buffer.h | Loading commit data... | |
w32_crtdbg_stacktrace.c | Loading commit data... | |
w32_crtdbg_stacktrace.h | Loading commit data... | |
w32_stack.c | Loading commit data... | |
w32_stack.h | Loading commit data... | |
w32_util.c | Loading commit data... | |
w32_util.h | Loading commit data... | |
win32-compat.h | Loading commit data... |