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

Add set_head_bytes() #925

Closed
drmikehenry opened this issue Jan 30, 2023 · 0 comments · Fixed by #931
Closed

Add set_head_bytes() #925

drmikehenry opened this issue Jan 30, 2023 · 0 comments · Fixed by #931

Comments

@drmikehenry
Copy link
Contributor

I'd like to have Repository::set_head_bytes() that works like Repository::set_head() but which does not require valid UTF8 (analogous to having both Repository::set_namespace() and Repository::set_namespace_bytes()). Without set_head_bytes(), if a user chooses a branch name that's invalid UTF8, I can't set HEAD to that branch.

Thanks,
Michael Henry

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 a pull request may close this issue.

1 participant