From: Junio C Hamano Date: Fri, 19 Jun 2020 16:33:45 GMT Subject: Re: [PATCH v2 2/2] git-prompt: include sparsity state as well Message-ID: In-Reply-To: <20200619161528.GI2898@szeder.dev> SZEDER Gábor writes: >> + local sparse="" >> + if [ "$(git config --bool core.sparseCheckout)" == "true" ]; then >> + sparse="|SPARSE" > > Nit: indentation. Also, do we want "==" there? I thought [ ... ] (unlike [[ ... ]]) was a mere synonym for "test", to which "==" is a bug.