Junio C Hamano <gitster@xxxxxxxxx> writes: > SZEDER Gábor <szeder.dev@xxxxxxxxx> 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. Ah, OK, this script is very bash specific so POSIX portability rules do not matter. == is just fine as = there. Sorry for the noise.