git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Old submodules broken in 2.19rc1 and 2.19rc2

From
AJAllan Sandfeld Jensen <allan.jensen@qt.io>
Date
Sep 7, 2018, 15:18 UTC
Message-ID
<1591523.hyI6sBWrkQ@twilight>
In-Reply-To
<20180907150327.GB26719@sigill.intra.peff.net>
On Freitag, 7. September 2018 17:03:27 CEST Jeff King wrote:
Show 11 quoted lines
> On Fri, Sep 07, 2018 at 11:52:58AM +0200, Allan Sandfeld Jensen wrote:
> > Submodules checked out with older versions of git not longer works in the
> > latest 2.19 releases. A "git submodule update --recursive" command wil
> > fail
> > for each submodule with a line saying "fatal: could not open
> > '<submodule>/.git' for writing> Is a directory.
> 
> I couldn't reproduce after cloning with v1.6.6.3 (which creates ".git"
> as a directory in the tree). Is it possible for you to bisect (or
> perhaps share with us the broken example)?
> 

I discovered it by using Debian testing, and it is shipping the 2.17rcs for some reason. The example is just an old checkout of qt5.git with submodules, it is rather large.

I could try bisecting, but I am not sure I have the time anytime soon, I just wanted to report it to you first incase you knew of a change that suddenly assumed the new structure.

'Allan
Previous: Jeff KingNext: Jonathan Nieder
Message 3 of 14 in “Old submodules broken in 2.19rc1 and 2.19rc2”
  1. Allan Sandfeld JensenSep 7, 2018
  2. Jeff KingSep 7, 2018
  3. Allan Sandfeld JensenSep 7, 2018
  4. Jonathan NiederSep 7, 2018
  5. Stefan BellerSep 7, 2018
  6. Jonathan NiederSep 7, 2018
  7. Jonathan NiederSep 7, 2018
  8. Stefan BellerSep 7, 2018
  9. Revert "Merge branch 'sb/submodule-core-worktree'" (was Re: Old submodules broken in 2.19rc1 and 2.19rc2)Jonathan Nieder, Sep 8, 2018
  10. Junio C HamanoSep 8, 2018
  11. Johannes SixtSep 8, 2018
  12. Stefan BellerSep 10, 2018
  13. Junio C HamanoSep 11, 2018
  14. Allan Sandfeld JensenSep 7, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.