From: Junio C Hamano Date: Wed, 31 Mar 2021 22:37:18 GMT Subject: Re: [PATCH v9] builtin/clone.c: add --reject-shallow option Message-ID: In-Reply-To: Johannes Schindelin writes: >> Does this "single variable is enough" really work? >> ... > That's my mistake, and you don't even need a second config to see the > problem: > > [clone] > rejectShallow = false > rejectShallow = true Yup, that is a much simpler example. > Sorry for the trouble! Don't feel bad---in an earlier round of review I made a similar mistake to wonder if these two variables can be reduced into one myself ;-). As you said, this one is special in making two calls to git_config() and need to be handled carefully. Thanks.