windows: allow building without NO_UNIX_SOCKETS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 5 repliesIn review
- v23 patches 5 repliesSuperseded
- v13 patches 5 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | t0301: fixes for windows compatibilityt/ | +24 | 1 reply | |
| 2/3 | credential-cache: check for windows specific errorsbuiltin/ | +28 | 3 replies | |
| 3/3 | git-compat-util: include declaration for unix sockets in windowsgit-compat-util.h | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] windows: allow building without NO_UNIX_SOCKETS
Eventhough NO_UNIX_SOCKETS was specifically added to support Windows, it might not be necessary in the future, because Windows added support for Unix Sockets in late 2017.
The implementation of Unix Sockets, uses an internal NTFS mechanism and is therefore not visible at the filesystem layer, like it is in UNIX, but seems to be good enough to allow to build and run the git credential-cache and its daemon, with not many changes.
Additional testing to confirm trace2 (which builds and doesn't fail any tests) is functional will be also needed.
Interestingly, Cygwin has its own implementation of Unix Sockets that are visible as such even in the Git Bash environment, but that are also incompatible with the native ones.
V3 Changes the commit messages as suggested and fixes the original ugly implementation of the workarounds for the first patch and shoule apply cleanly as a reroll of cb/unix-sockets-with-windows.
Carlo Marcelo Arenas Belón (3):
t0301: fixes for windows compatibility
credential-cache: check for windows specific errors
git-compat-util: include declaration for unix sockets in windows
builtin/credential-cache.c | 30 ++++++++++++++++++++++++++++-- git-compat-util.h | 3 +++ t/t0301-credential-cache.sh | 32 ++++++++++++++++++++++++-------- 3 files changed, 55 insertions(+), 10 deletions(-)
Signature · 1 line
2.33.0.481.g26d3bed244