You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you call the following sequence in an empty directory, or an directory with files but no commits, Git#status will crash.
Git.init
git = Git.open '.'
status = git.status
This is the output on the command line:
Git::GitExecuteError: git diff-index 'HEAD' 2>&1:fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If you call the following sequence in an empty directory, or an directory with files but no commits, Git#status will crash.
Git.init
git = Git.open '.'
status = git.status
This is the output on the command line:
Git::GitExecuteError: git diff-index 'HEAD' 2>&1:fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
The text was updated successfully, but these errors were encountered: