Skip to content

Conversation

@josharian
Copy link
Contributor

This requires adding a new symbolic ref to the testrepo fixture.
Some of the existing tests attempt to delete HEAD, expecting a different failure. Introduce and use a non-HEAD symbolic ref instead.
Adjust a few other tests as needed.

Fixes #5357

This requires adding a new symbolic ref to the testrepo fixture.
Some of the existing tests attempt to delete HEAD, expecting a different failure. Introduce and use a non-HEAD symbolic ref instead.
Adjust a few other tests as needed.

Fixes libgit2#5357
@josharian josharian requested a review from ethomson January 15, 2020 21:57
@ethomson
Copy link
Member

LGTM. Going to hold this open for a bit longer for additional feedback.

@pks-t pks-t merged commit 47ac118 into libgit2:master Jan 17, 2020
@pks-t
Copy link
Member

pks-t commented Jan 17, 2020

Yup, makes sense to me. Thanks a lot, @josharian!

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.

reject attempts to delete HEAD

3 participants