Subject: Re: [PATCH v2 2/2] setup: allow Git.pm to do unsafe repo checking

From: Junio C Hamano <[email-masked]>
Date: Sat, 22 Oct 2022 16:14:02 -0700

Jeff King <[email-masked]> writes:

> It feels like this try/catch should just go away:
> ...
> And then the code below that to check for bare/not-bare should be using
> "git rev-parse --is-bare-repository" or similar. Something like:

Yeah, exactly.  I very much like the straight-forward way of
thinking to have "git" do the real work.

Thanks.