Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with git clone #6

Closed
trebmuh opened this issue Jun 24, 2018 · 12 comments
Closed

Problem with git clone #6

trebmuh opened this issue Jun 24, 2018 · 12 comments

Comments

@trebmuh
Copy link
Contributor

trebmuh commented Jun 24, 2018

$ git clone https://github.com/jpcima/HybridReverb2.git --recursive
Clonage dans 'HybridReverb2'...
remote: Counting objects: 282, done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 282 (delta 165), reused 246 (delta 132), pack-reused 0
Réception d'objets: 100% (282/282), 429.00 KiB | 439.00 KiB/s, fait.
Résolution des deltas: 100% (165/165), fait.
Sous-module 'Thirdparty/JUCE' (https://github.com/jpcima/JUCE.git) enregistré pour le chemin 'Thirdparty/JUCE'
Clonage dans 'xxxx/HybridReverb2/Thirdparty/JUCE'...
remote: Counting objects: 170923, done.        
remote: Compressing objects: 100% (15/15), done.        
remote: Total 170923 (delta 15), reused 8 (delta 8), pack-reused 170900        
Réception d'objets: 100% (170923/170923), 203.70 MiB | 718.00 KiB/s, fait.
Résolution des deltas: 100% (134179/134179), fait.
error: no such remote ref d492f3b666808ce712e84d52de711e9503c7302d
Chemin de sous-module 'Thirdparty/JUCE' récupéré, mais il ne contenait pas d492f3b666808ce712e84d52de711e9503c7302d. La récupération directe de ce commit a échoué.
@jpcima
Copy link
Owner

jpcima commented Jun 24, 2018

J'ignore à quel moment c'est arrivé. Une erreur de ma part.
Tentative d'arranger ça

@trebmuh
Copy link
Contributor Author

trebmuh commented Jun 24, 2018

Merci de l'avoir corrigé!
Je ferme.

@trebmuh trebmuh closed this as completed Jun 24, 2018
@magnetophon
Copy link

I think I have the same issue now:

fatal: reference is not a tree: 78aec68237daa504c3ef87fc03e010695ace6684
Unable to checkout 78aec68237daa504c3ef87fc03e010695ace6684 from https://github.com/jpcima/JUCE.git.

@trebmuh
Copy link
Contributor Author

trebmuh commented Nov 19, 2020

@magnetophon : I've just tried and all went fine. Might that have been a temporary internet glitch?

@magnetophon
Copy link

@trebmuh Thanks for the quick reply.
On closer inspection, I seem to have a different issue after all.
A regular recursive clone works just fine, as you mentioned.
When I try to build the package with nix, I get the error I mentioned above.
Still investigating this one.

Sorry for the noise!

@magnetophon
Copy link

It looks like the problem I'm seeing might come from this repo after all.
@jtojnar mentioned in a comment:

The broken hash comes from HybridReverb2 repo: https://github.com/jpcima/HybridReverb2/tree/v2.1.1/Thirdparty

Looks like they use their own JUCE fork and force pushed so the commit used by HR 2.1.1 has been garbage collected on GitHub.

@jpcima jpcima changed the title Problème de git clone Problem with git clone Nov 22, 2020
@jpcima
Copy link
Owner

jpcima commented Nov 22, 2020

@magnetophon Hi

I've no idea what's off here. The submodule points to a commit hash which exists in the remote.
However it doesn't seem to connect to the branch by its name, only top commit hash. (is this a problem?)

Running git clone --recursive will indeed clone the whole with success. That's with git version 2.29.2.
Are you using a different configuration?

@jtojnar
Copy link

jtojnar commented Nov 22, 2020

The problem is not on master but on 2.1.1. Try to checkout the tag and then do a submodule update.

@jpcima
Copy link
Owner

jpcima commented Nov 22, 2020

Ok I see, it makes sense.
The easier is that I tag a new version 2.1.2, will that be fine with you?

@magnetophon
Copy link

The easier is that I tag a new version 2.1.2, will that be fine with you?

Sure, thanks!

@jpcima
Copy link
Owner

jpcima commented Nov 23, 2020

Ok I pushed the tag, let me know if this works.

@magnetophon
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants