Panic on git branchless init
in a non-git directory
#1069
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description of the bug
First time using git branchless, I accidently ran the command in the parent folder of my git repos, rather than in a git repo.
I did not expect an uncaught panic.
Expected behavior
A polite error message informing me of the mistake I'd made.
Actual behavior
A panic.
Version of
rustc
No response
Automated bug report
No response
Version of
git-branchless
git-branchless-opts 0.8.0
Version of
git
git version 2.42.0
The text was updated successfully, but these errors were encountered: