Open
Description
The checkout operation failed during the "Persisting credentials for submodules" step when I specified the submodules
input parameter to true
:
Fetching submodules
/usr/bin/git submodule sync
/usr/bin/git -c protocol.version=2 submodule update --init --force --depth=100
Submodule '軟體包管理器 Package managers' (https://gitlab.com/libre-knowledge/package-managers.git) registered for path '軟體包管理器 Package managers'
Cloning into '/home/runner/work/software-distribution/software-distribution/軟體包管理器 Package managers'...
Submodule path '軟體包管理器 Package managers': checked out '1e47d1a22d8ebaf51d97854ff7c11d7e357392da'
/usr/bin/git submodule foreach git config --local gc.auto 0
Entering '軟體包管理器 Package managers'
Persisting credentials for submodules
/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'url\.https\:\/\/github\.com\/\.insteadOf' && git config --local --unset-all 'url.https://github.com/.insteadOf' || :"
Entering '軟體包管理器 Package managers'
/usr/bin/git submodule foreach sh -c "git config --local 'http.https://github.com/.extraheader' 'AUTHORIZATION: basic ***' && git config --local --show-origin --name-only --get-regexp remote.origin.url"
Entering '軟體包管理器 Package managers'
file:"/home/runner/work/software-distribution/software-distribution/.git/modules/\350\273\237\351\253\224\345\214\205\347\256\241\347\220\206\345\231\250 Package managers/config" remote.origin.url
Error: ENOENT: no such file or directory, open '"/home/runner/work/software-distribution/software-distribution/.git/modules/\350\273\237\351\253\224\345\214\205\347\256\241\347\220\206\345\231\250 Package managers/config"'
The .gitmodules file in my Git repository:
[submodule "軟體包管理器 Package managers"]
path = 軟體包管理器 Package managers
url = https://gitlab.com/libre-knowledge/package-managers.git
ignore = dirty
I suspect that the bug is triggered by the non-ASCII, space-including submodule name "軟體包管理器 Package managers", but I'm not exactly sure.
Metadata
Metadata
Assignees
Labels
No labels