Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
2014q1
-
None
-
Ubuntu 18.04 LTS 64 bit
Description
Trying to obtain a shallow copy of qt5's submodules fails with "error: Server does not allow request for unadvertised object".
When cloning from codereview.qt-project.org, this will work. Please allow it on code.qt.io, too.
Full log:
qtrob@rob-desktop:/tmp$ git clone -b 5.15 --depth 1 git://code.qt.io/qt/qt5.git Cloning into 'qt5'... remote: Counting objects: 796, done. remote: Compressing objects: 100% (566/566), done. remote: Total 796 (delta 267), reused 374 (delta 83) Receiving objects: 100% (796/796), 2.06 MiB | 2.37 MiB/s, done. Resolving deltas: 100% (267/267), done. qtrob@rob-desktop:/tmp$ cd qt5 qtrob@rob-desktop:/tmp/qt5$ git submodule update --init --depth 1 qtbase Submodule 'qtbase' (git://code.qt.io/qt/qtbase.git) registered for path 'qtbase' Cloning into '/tmp/qt5/qtbase'... remote: Total 0 (delta 0), reused 0 (delta 0) error: Server does not allow request for unadvertised object 2cbc5f6f7ae8ba580126a7cafc1898377c2a2407 Fetched in submodule path 'qtbase', but it did not contain 2cbc5f6f7ae8ba580126a7cafc1898377c2a2407. Direct fetching of that commit failed.
Attachments
Issue Links
- is required for
-
QTBUG-70274 Enable Shallow Clone Support in Init-Repository Script
-
- Open
-