BUG in fetching non-checked out submodule
- From
Ralf Thielow <ralf.thielow@gmail.com>
- Date
- Dec 2, 2020, 15:56 UTC
- Message-ID
- <CAN0XMOLiS_8JZKF_wW70BvRRxkDHyUoa=Z3ODtB_Bd6f5Y=7JQ@mail.gmail.com>
Hi,
I have the current 'master' branch of git installed and get the following error when fetching a submodule that is not checked out.
I've bisected this error down to commit 1b7ac4e6d4 (submodules: fix of regression on fetching of non-init subsub-repo, 2020-11-12)
$ git version git version 2.29.2.435.g72ffeb997e
$ git config --get submodule.recurse true
$ git submodule status -855827c583bc30645ba427885caa40c5b81764d2 sha1collisiondetection
$ git fetch Fetching submodule sha1collisiondetection Fetching submodule sha1collisiondetection/sha1collisiondetection Fetching submodule sha1collisiondetection/sha1collisiondetection/sha1collisiondetection Fetching submodule sha1collisiondetection/sha1collisiondetection/sha1collisiondetection/sha1collisiondetection ...
$ git submodule update --checkout Submodule path 'sha1collisiondetection': checked out '855827c583bc30645ba427885caa40c5b81764d2'
$ git fetch Fetching submodule sha1collisiondetection $
Ralf