gitless
gitless copied to clipboard
Crash on empty repo
When I do:
git clone [email protected]:pepa65/stillempty.git
cd stillempty
gl
There is a crash:
Traceback (most recent call last):
File "gl.py", line 14, in <module>
File "gitless/cli/gl.py", line 71, in main
File "gitless/cli/file_cmd.py", line 23, in f
File "gitless/core.py", line 210, in current_branch
_pygit2.GitError: Reference 'refs/heads/master' not found
Failed to execute script gl
I would expect to get the help text. (I thought at first my binary was suddenly corrupted..! But it was still the same.)