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
Repository.Push panics when it tries to push a tag with an empty name #929
Comments
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 28, 2023
An empty tagname is an invalid tag. Fixes: go-git#929
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 28, 2023
An empty tagname is an invalid tag. Fixes: go-git#929
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 28, 2023
Check reference names format before creating branches/tags/remotes. This should probably be in a lower level somewhere in `plumbing`. Validating the names under `plumbing.NewReference*` is not possible since these functions don't return errors. Fixes: go-git#929
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 28, 2023
Check reference names format before creating branches/tags/remotes. This should probably be in a lower level somewhere in `plumbing`. Validating the names under `plumbing.NewReference*` is not possible since these functions don't return errors. Fixes: go-git#929
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 28, 2023
Check reference names format before creating branches/tags/remotes. This should probably be in a lower level somewhere in `plumbing`. Validating the names under `plumbing.NewReference*` is not possible since these functions don't return errors. Fixes: go-git#929
aymanbagabas
added a commit
to aymanbagabas/go-git
that referenced
this issue
Nov 30, 2023
Check reference names format before creating branches/tags/remotes. This should probably be in a lower level somewhere in `plumbing`. Validating the names under `plumbing.NewReference*` is not possible since these functions don't return errors. Fixes: go-git#929
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I Clone a remote repo in memory with no working area, tag the head with an empty tag name and then push it back to origin, Push panics.
Steps to reproduce:
A test with my program using your great package (serious now)
The text was updated successfully, but these errors were encountered: