[git] Git problem with Boost

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[git] Git problem with Boost

Boost - Dev mailing list
git checkout develop
git pull
git submodule update --init

from my local main Boost repository gives me:

error: no such remote ref 0ce9138ce86095eab9c09d171fecb5f72c4457f7
Fetched in submodule path 'libs/callable_traits', but it did not contain
0ce9138ce86095eab9c09d171fecb5f72c4457f7. Direct fetching of that commit
failed.


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [git] Git problem with Boost

Boost - Dev mailing list
On 12.01.2018 19:32, Edward Diener via Boost wrote:

> git checkout develop
> git pull
> git submodule update --init
>
> from my local main Boost repository gives me:
>
> error: no such remote ref 0ce9138ce86095eab9c09d171fecb5f72c4457f7
> Fetched in submodule path 'libs/callable_traits', but it did not
> contain 0ce9138ce86095eab9c09d171fecb5f72c4457f7. Direct fetching of
> that commit failed.

Perhaps someone force-pushed a commit to the `callable_traits` repo ?


Stefan

--

      ...ich hab' noch einen Koffer in Berlin...
   


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [git] Git problem with Boost

Boost - Dev mailing list
On 1/12/2018 7:46 PM, Stefan Seefeld via Boost wrote:

> On 12.01.2018 19:32, Edward Diener via Boost wrote:
>> git checkout develop
>> git pull
>> git submodule update --init
>>
>> from my local main Boost repository gives me:
>>
>> error: no such remote ref 0ce9138ce86095eab9c09d171fecb5f72c4457f7
>> Fetched in submodule path 'libs/callable_traits', but it did not
>> contain 0ce9138ce86095eab9c09d171fecb5f72c4457f7. Direct fetching of
>> that commit failed.
>
> Perhaps someone force-pushed a commit to the `callable_traits` repo ?

Where does the SHA 0ce9138ce86095eab9c09d171fecb5f72c4457f7 come from ?
How can this be corrected. It seems to be stopping the command from
completing locally, so any workaround I can use would be appreciated.

>
>
> Stefan
>



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [git] Git problem with Boost

Boost - Dev mailing list
On 13 January 2018 at 00:59, Edward Diener via Boost
<[hidden email]> wrote:
>
> Where does the SHA 0ce9138ce86095eab9c09d171fecb5f72c4457f7 come from ? How
> can this be corrected. It seems to be stopping the command from completing
> locally, so any workaround I can use would be appreciated.

It's the current master commit and it exists in the repo:

https://github.com/boostorg/callable_traits/commit/0ce9138ce86095eab9c09d171fecb5f72c4457f7

Try running fetch in the module to see if it fetches the commit, maybe
you just had a network error, or github was having some issues at the
time you fetched. Another possibility is that you're on a branch from
a fork of the repo. In that case git fetches from the fork, not the
origin.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [git] Git problem with Boost

Boost - Dev mailing list
On 1/13/2018 5:32 AM, Daniel James via Boost wrote:

> On 13 January 2018 at 00:59, Edward Diener via Boost
> <[hidden email]> wrote:
>>
>> Where does the SHA 0ce9138ce86095eab9c09d171fecb5f72c4457f7 come from ? How
>> can this be corrected. It seems to be stopping the command from completing
>> locally, so any workaround I can use would be appreciated.
>
> It's the current master commit and it exists in the repo:
>
> https://github.com/boostorg/callable_traits/commit/0ce9138ce86095eab9c09d171fecb5f72c4457f7
>
> Try running fetch in the module to see if it fetches the commit, maybe
> you just had a network error, or github was having some issues at the
> time you fetched. Another possibility is that you're on a branch from
> a fork of the repo. In that case git fetches from the fork, not the
> origin.

Thanks ! Somehow the remote repository was set incorrectly. Once I
corrected it everything was fine. I am sure I did not manually set the
remote repository to the incorrect URL so I am not sure how that happened.


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost