[git] Git problem with Boost
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.
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...
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
On 13 January 2018 at 00:59, Edward Diener via Boost
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/0ce9138ce86095eab9c09d171... 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.
On 1/13/2018 5:32 AM, Daniel James via Boost wrote:
On 13 January 2018 at 00:59, Edward Diener via Boost
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/0ce9138ce86095eab9c09d171...
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.
participants (3)
-
Daniel James
-
Edward Diener
-
Stefan Seefeld