Merge branch 'es/outside-repo-errmsg-hints' into maint
commit758d0773baa3732bc62838070566513df6a84239
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Mar 2020 22:02:20 +0000 (17 15:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Mar 2020 22:02:20 +0000 (17 15:02 -0700)
treeaeb0c9d951ced7858d3238bf5a41f59dfb831e01
parentf0c344ce578f71aeeee7d40cc01e66f74506ecf9
parent5c20398699165a91af2d81ea2d20385bc8dd3627
Merge branch 'es/outside-repo-errmsg-hints' into maint

An earlier update to show the location of working tree in the error
message did not consider the possibility that a git command may be
run in a bare repository, which has been corrected.

* es/outside-repo-errmsg-hints:
  prefix_path: show gitdir if worktree unavailable
  prefix_path: show gitdir when arg is outside repo