-
Notifications
You must be signed in to change notification settings - Fork 121
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
Using master
when a project has no tags is problematic
#236
Comments
Whoops, I didn't see #204. It seems like that PR had trouble implementing my first suggested solution. Would it perhaps be easier to attempt the second option? That is: just use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is becoming increasingly common that git repositories use
main
as the default branch instead ofmaster
. If a package has no tags and someone tries to install it using mint, mint only attempts to checkout themaster
branch which of course fails if the package usesmain
instead ofmaster
.I think it would be sensible to either just use the repository's default branch (the one that is automatically checked out after
git clone [repo]
iirc), or add an option to specify a branch when installing a package.The text was updated successfully, but these errors were encountered: