isomorphic-git 1.38.4 → 1.38.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,18 @@
9
9
  * This code for `path.join` is directly copied from @zenfs/core/path for bundle size improvements.
10
10
  * SPDX-License-Identifier: LGPL-3.0-or-later
11
11
  * Copyright (c) James Prevett and other ZenFS contributors.
12
+ *
13
+ * Windows support added:
14
+ * - Backslashes are normalised to forward slashes before processing.
15
+ * - Drive-letter prefixes (e.g. "C:") are detected and preserved through
16
+ * normalisation, so absolute Windows paths are handled correctly.
17
+ * - An absolute argument passed to join() resets the accumulated path,
18
+ * matching Node behaviour and handling worktree gitdir paths properly.
19
+ *
20
+ * Limitation: UNC paths (e.g. \\server\share) are not supported. The leading
21
+ * backslashes are normalised to forward slashes and then collapsed by
22
+ * normalizeString, losing the UNC root. Git on Windows works with
23
+ * drive-letter paths, so this is not expected to be a practical issue.
12
24
  */
13
25
 
14
26
  /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */