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
#status
fails on a new repo
#459
Comments
A friendly reminder that this issue had no activity for 60 days. |
? |
@costa This happens to me as well. It looks like the culprit is that |
A friendly reminder that this issue had no activity for 60 days. |
@jcouball Hi James, are you sure the bot is necessary? Also, your latest commit seems to have a problem with your credentials, probably to git misconfiguration. |
@costa, agree the bot is a pain. Which last commit are you talking about? |
@jcouball a friendly reminder that this issue hasn't been resolved yet... |
A friendly reminder that this issue had no activity for 60 days. |
Subject of the issue
Git::GitExecuteError (git '--git-dir=/proj/my-proj/.git' '--work-tree=/proj/my-proj' diff-index 'HEAD' 2>&1:fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.)
when there is no
HEAD
.(
$ git status
works fine)Your environment
Steps to reproduce
$ cd "$(mktemp -d)"; git init .; echo 'Git.open(".").status' | ruby -rgit
Expected behaviour
a return value, perhaps?
with untracked/cached files preferably
Actual behaviour
exception above
The text was updated successfully, but these errors were encountered: