Merge branch 'kl/setup-in-unreadable-worktree'
commit37d4ae58efcc9f716435f327c39d5552aedb4b7c
authorJunio C Hamano <gitster@pobox.com>
Fri, 3 Jun 2022 21:30:36 +0000 (3 14:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Jun 2022 21:30:36 +0000 (3 14:30 -0700)
tree8c3601ab342858e0e2f21adc68e90493dadc116a
parent28db3b7b71c25e87cf7eed5406a1a1052311d330
parentc37c6dc6a79a1ca7b9d4fa4efd788d8f5ec6369a
Merge branch 'kl/setup-in-unreadable-worktree'

Disable the "do not remove the directory the user started Git in"
logic when Git cannot tell where that directory is.  Earlier we
refused to run in such a case.

* kl/setup-in-unreadable-worktree:
  setup: don't die if realpath(3) fails on getcwd(3)