Jeff King <peff@xxxxxxxx> 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.