Re: [PATCH v2 2/2] setup: allow Git.pm to do unsafe repo checking
From: Junio C Hamano <hidden> Date: 2022-10-22 23:14:14
Jeff King [off-list ref] 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.