Johannes Altmanninger 0a32584476 Fix error when inside a bare git repository
For example, "git diff" would print
"fatal: this operation must be run in a work tree"

We could still run git_branch_name in bare repositories in future.
2020-12-01 01:47:35 -08:00
..