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

Fix bug when cloned package does not have HEAD ref #13804

Merged
merged 2 commits into from
Nov 4, 2015

Conversation

jakebolewski
Copy link
Member

No description provided.

@tkelman tkelman added the packages Package management and loading label Oct 28, 2015
@tkelman
Copy link
Contributor

tkelman commented Oct 28, 2015

what can cause this? test?

@jakebolewski
Copy link
Member Author

To be honest I don't know what causes this state offhand. The original code is clearly wrong though, you could never get an empty SHA here unless the HEAD did not exist. I kept running into this error and this is the obvious fix. Cloning unregistered packages seems to trigger it but I can't reproduce with the "Example" package.

jakebolewski added a commit that referenced this pull request Nov 4, 2015
Fix bug when cloned package does not have HEAD ref
@jakebolewski jakebolewski merged commit a205994 into master Nov 4, 2015
@jakebolewski jakebolewski deleted the jcb/fixcheckoutmaster branch November 4, 2015 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Package management and loading
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants