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

fatal: bad revision 'HEAD' on first add #109

Closed
naggie opened this issue Jan 19, 2021 · 1 comment
Closed

fatal: bad revision 'HEAD' on first add #109

naggie opened this issue Jan 19, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@naggie
Copy link
Owner

naggie commented Jan 19, 2021

Original report: #8 (comment) courtesy of @ghistes

image

Cause:

dstask/git.go

Line 37 in e4d8034

if RunGitCmd(repoPath, "diff-index", "--quiet", "HEAD", "--") == nil {

Solution is probably to see if anything is in .git/objects

@naggie naggie added the bug Something isn't working label Jan 19, 2021
@naggie naggie added this to the 0.24 milestone Jan 19, 2021
@naggie
Copy link
Owner Author

naggie commented Jan 19, 2021

image

Fixed in master.

@naggie naggie closed this as completed Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant