HEADS-UP: Git submodule conversion imminent

Herbert Valerio Riedel hvriedel at gmail.com
Sat Jun 28 12:32:49 UTC 2014


On 2014-06-28 at 14:19:15 +0200, Gabor Greif wrote:
> Hmm, I guess this was the reason,
> when I did that, I got
>
>> fatal: Needed a single revision
>> Unable to find current revision in submodule path 'libraries/parallel'
>
> so the other submodules were not initialized.
>
> What might be wrong with 'libraries/parallel' ?

Tbh, not sure, but if you know you have nothing important in
libraries/parallel, 

  rm -rf libraries/parallel

and retry a 'git submodule update --init'

This is essentially the suggested course of action according to

  http://www.gostai.com/downloads/urbi-sdk-2.0/doc/urbi-sdk.htmldir/faq.html#x22-10400014.1.4

and other results you may get if you google for that error



>
> Thanks,
>
>     Gabor
>
> On 6/28/14, Herbert Valerio Riedel <hvriedel at gmail.com> wrote:
>> On 2014-06-28 at 13:49:15 +0200, Gabor Greif wrote:
>>> Hi herbert,
>>>
>>> I followed your instructions, and one of my repos converted well:
>>>
>>>  e8a901fddc88c6560af34e18a5201deeb8d51557 libraries/stm
>>> (stm-2.4.3-release-3-ge8a901f)
>>>
>>> the other gave:
>>>
>>> -e8a901fddc88c6560af34e18a5201deeb8d51557 libraries/stm
>>>
>>> How can I salvage the situation?
>>
>> That (the '-'-sign) simply means the 'libraries/stm' submodule wasn't
>> properly initalized;
>>
>> running 'git submodule update --init' should usually take care of
>> initializing newly added submodules.
>>

-- 
"Elegance is not optional" -- Richard O'Keefe


More information about the ghc-devs mailing list