reactos/sdk
Hermès Bélusca-Maïto 454901ab0b
[WINESYNC] Explicitly use posix paths for git file manipulations.
Whenever using git, be it on Windows CMD, git-bash on Windows, or in
*nix systems, git appears to always use posix-like paths internally.
So, enforce them with posixpath when building/concatenating paths that
are going to be passed to pygit2 functions.

Otherwise, exceptions like the following one happens:

```
  File "./winesync.py", line 296, in revert_staged_patchset
    self.reactos_index.remove(os.path.join(self.staged_patch_dir, patch_file_name))
[... skipped ...]
OSError: index does not contain sdk\tools\winesync\setupapi_staging\0002-wine-staging-4.0-setupapi_winetest.patch at stage 0
```

(The git index actually contains the specified path, but in "posix" form
with slash-separators.)

On *nix platforms, these changes should not matter.
2023-12-18 22:21:35 +01:00
..
cmake [SDK:CMAKE] writing_CmakeLists_for_ReactOS.txt: Fix typos (#6105) 2023-12-17 22:12:25 +01:00
include [MSCTFIME][IMM32][SDK] Implement CtfImeInquireExW (#6187) 2023-12-18 19:11:17 +09:00
lib [RTL] Implement RtlGetProcessHeaps 2023-12-17 22:28:24 +01:00
tools [WINESYNC] Explicitly use posix paths for git file manipulations. 2023-12-18 22:21:35 +01:00