Skip to content

Commit 96beb45

Browse files
committed
Submodule names can have slashes, so encode them before use on the filesystem
1 parent a9acf71 commit 96beb45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

upstream-git.lisp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@
7676
"--recursive"
7777
"echo $name $sha1 $displaypath")
7878
for (name sha1 path) = (split-spaces line)
79-
collect (make-submodule :name name :path path :sha1 sha1)))
79+
collect (make-submodule :name (encode-string-for-filesystem name)
80+
:path path
81+
:sha1 sha1)))
8082

8183
(defun full-git-archive (git-path target-ref prefix output-file)
8284
"Create a tarball archive in OUTPUT-FILE of the full contents of the

0 commit comments

Comments
 (0)