Opened 5 years ago

Closed 4 years ago

#13293 closed Bugs (wontfix)

git submodule update --depth 1: reference is not a tree

Reported by: listcrawler@… Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.65.0 Severity: Problem
Keywords: boostorg/boost.git Cc:

Description

Shallow clone of super and sub projects does not work for release 1.65.1. Recreate with:

git clone --depth 1 --branch boost-1.65.1 https://github.com/boostorg/boost.git boost
git -C boost submodule init libs/config
git -C boost submodule update --depth 1

yields:

fatal: reference is not a tree: 2c5de25f2d1aea9316129027e6617649a0e09e59

Update without depth 1 works fine:

git -C boost submodule update

Other libraries (context, core, fiber, system, tools/build) have the same problem.

Change History (1)

comment:1 by John Maddock, 4 years ago

Resolution: wontfix
Status: newclosed

Not sure if this is intended to be supported - but if so it's an issue with the git super-project - please file an issue on github against that.

Note: See TracTickets for help on using tickets.