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

bug: depth 1 and recursive update of submodules broke in 2.9.0

From
SStephanos <spapanik21@gmail.com>
Date
Jul 7, 2016, 16:40 UTC
Message-ID
<CA+z9LHJmjz2DWgRAJaO29YyeEcxpSuDSFPnCJPRTnHoVMisOvQ@mail.gmail.com>

When I try to ```git clone --depth 1 --recursive https://github.com/davidhalter/jedi-vim.git``` in 2.9.0, it fails with the message: ``` Cloning into 'jedi-vim'... remote: Counting objects: 37, done. remote: Compressing objects: 100% (27/27), done. remote: Total 37 (delta 1), reused 16 (delta 0), pack-reused 0 Unpacking objects: 100% (37/37), done. Checking connectivity... done. Submodule 'jedi' (https://github.com/davidhalter/jedi.git) registered for path 'jedi' Cloning into '/home/stephanos/jedi-vim/jedi'... error: no such remote ref 995a6531225ba0b65e1ff863d97e5404d989047b Fetched in submodule path 'jedi', but it did not contain 995a6531225ba0b65e1ff863d97e5404d989047b. Direct fetching of that commit failed. ```, while with git 2.8.3 it succeeds. The commit 995a6531225ba0b65e1ff863d97e5404d989047b exists.

Next: Stefan Beller
Message 1 of 2 in “bug: depth 1 and recursive update of submodules broke in 2.9.0”
  1. StephanosJul 7, 2016
  2. Stefan BellerJul 7, 2016

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.