Open
Description
After adding submodules support, checkout action fails on single repository. Roll back to version 2.0.0 fix the problem
/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : Error: fatal: No url found for submodule path 'MY_SINGLE_REPO' in .gitmodules Error: The process '/usr/bin/git' failed with exit code 128
Metadata
Metadata
Assignees
Labels
No labels
Activity
GSvensk commentedon Oct 19, 2021
Seems to be due to the release of
v2.3.5
, evenv2.3.4
works fine.nyanpasu64 commentedon Jan 24, 2022
I ran into this issue as well. The failed command seems to match #385 and #590. I'm not sure if the steps or cause is the same.
In my case, I have a vendored repository (3rdparty/STX) which originally contained submodules (in 3rdparty/STX/.gitmodules). I vendored it as a subrepo, but Git still thinks 3rdparty/STX/third_party/abseil is a submodule, but with no corresponding entry in the top-level .gitmodules. Now
git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand'
tries and fails to operate on the subrepo's submodules:jsoref commentedon Aug 22, 2022
This is technically a duplicate of #354