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

fetchgit: Comprehensive valid reference check. #1612

Closed
wants to merge 1 commit into from

Conversation

shlevy
Copy link
Member

@shlevy shlevy commented Oct 17, 2017

This ensures we're matching git's definition of a valid reference.

This ensures we're matching git's definition of a valid reference.
@shlevy shlevy requested a review from edolstra October 17, 2017 15:32
@shlevy
Copy link
Member Author

shlevy commented Oct 17, 2017

Replaces #1611

@edolstra
Copy link
Member

Why is it important that we match git's notion of a reference? Won't we just get an error eventually if we pass an invalid ref?

@shlevy
Copy link
Member Author

shlevy commented Oct 17, 2017

Probably. I'm not sure what will happen if the passed in ref has a : or some other special git characters though, maybe it's fine

@shlevy
Copy link
Member Author

shlevy commented Oct 17, 2017

#1614 just removes the check.

@shlevy shlevy closed this Oct 17, 2017
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.

None yet

2 participants