{"thread":{"id":"42792","subject":"bug: depth 1 and recursive update of submodules broke in 2.9.0","startedAt":"2016-07-07T16:41:35Z","lastAt":"2016-07-07T17:00:11Z","messageCount":2,"participants":["Stephanos","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"290964","messageId":"CA+z9LHJmjz2DWgRAJaO29YyeEcxpSuDSFPnCJPRTnHoVMisOvQ@mail.gmail.com","threadId":"42792","inReplyTo":null,"subject":"bug: depth 1 and recursive update of submodules broke in 2.9.0","fromName":"Stephanos","fromEmail":"spapanik21@gmail.com","sentAt":"2016-07-07T16:40:13Z","receivedAt":"2016-07-07T16:41:35Z","isPatch":false,"sender":{"key":"spapanik21@gmail.com","avatar":null},"body":"When I try to ```git clone --depth 1 --recursive\nhttps://github.com/davidhalter/jedi-vim.git``` in 2.9.0, it fails with\nthe message: ```\nCloning into 'jedi-vim'...\nremote: Counting objects: 37, done.\nremote: Compressing objects: 100% (27/27), done.\nremote: Total 37 (delta 1), reused 16 (delta 0), pack-reused 0\nUnpacking objects: 100% (37/37), done.\nChecking connectivity... done.\nSubmodule 'jedi' (https://github.com/davidhalter/jedi.git) registered\nfor path 'jedi'\nCloning into '/home/stephanos/jedi-vim/jedi'...\nerror: no such remote ref 995a6531225ba0b65e1ff863d97e5404d989047b\nFetched in submodule path 'jedi', but it did not contain\n995a6531225ba0b65e1ff863d97e5404d989047b. Direct fetching of that\ncommit failed.\n```, while with git 2.8.3 it succeeds. The commit\n995a6531225ba0b65e1ff863d97e5404d989047b exists.\n"},{"id":"290965","messageId":"CAGZ79kb+Bns=Hh0zK5EJgmV60dRED21M+AgPu+hx-KyL4JXZ6g@mail.gmail.com","threadId":"42792","inReplyTo":"CA+z9LHJmjz2DWgRAJaO29YyeEcxpSuDSFPnCJPRTnHoVMisOvQ@mail.gmail.com","subject":"Re: bug: depth 1 and recursive update of submodules broke in 2.9.0","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2016-07-07T16:59:53Z","receivedAt":"2016-07-07T17:00:11Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"See the discussion and bug fix at\nhttp://thread.gmane.org/gmane.comp.version-control.git/297687/focus=297719\n\nThis is a known regression in 2.9.0 and the fix is in the master branch already.\n(I think Junio will also roll it into 2.9.1)\n"}]}