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

Don't convert branch name to commit hash #94

Closed
wants to merge 1 commit into from

Conversation

Sjors
Copy link

@Sjors Sjors commented Nov 28, 2019

I'm completely oblivious to rationale for #57, so sorry if this doesn't make any sense.

When a branch name is present, it's replaced by a git hash. This breaks shallow clones (as remarked by @simson2010 #57 (comment).

It also makes git submodules even more painful, in particular when a branch points to a different origin than master. For example in https://github.com/Sjors/libwally-swift/commits/dev contains a submodule that points to a fork.

This PR removes the conversion from branch name to commit hash.

@Sjors
Copy link
Author

Sjors commented Nov 28, 2019

I guess the trade-off here is between initial clone and updates? So maybe a better approach is possible

@poxtyn1
Copy link

poxtyn1 commented Feb 19, 2020

Iop

@segiddins
Copy link
Member

This is a big breaking change, I don't think we're going to be able to merge it

@dnkoutso dnkoutso closed this Aug 3, 2021
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

Successfully merging this pull request may close these issues.

4 participants