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

git meta checkout doesn't work in a repository with no commits #702

Open
jhedwardyang opened this issue Apr 17, 2019 · 0 comments
Open

git meta checkout doesn't work in a repository with no commits #702

jhedwardyang opened this issue Apr 17, 2019 · 0 comments

Comments

@jhedwardyang
Copy link
Contributor

Repro steps:

git init emptyrepo
cd emptyrepo
git fetch https://github.com/twosigma/git-meta
git meta checkout FETCH_HEAD

Expected:

  • Checks out FETCH_HEAD

Actual:

TypeError: Cannot read property 'id' of null
<trace omitted>
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

No branches or pull requests

1 participant