Re: Possible git bug
- From
- Wesley Schwengle <wesley@schwengle.net>
- Date
- Sep 16, 2021, 22:30 UTC
- Message-ID
- <4d17d26a-d945-3875-beed-e23ae6281f54@schwengle.net>
- In-Reply-To
- <xmqqmtocrxwq.fsf@gitster.g>
On 9/16/21 5:52 PM, Junio C Hamano wrote:
> Wesley Schwengle <wesley@schwengle.net> writes:
Show 7 quoted lines
>> As for the patch. The reason why --fork-point is default I do not >> know, but how to disable it isn't documented and I think it should. It >> is hidden in the source code and the release notes of 2.31.0. It >> should be more visible. Which is the reason I submitted the patch. > > Certainly. >
> In any case, updating the documentation to refer to the configuraion > variable that tweaks the default for --fork-point would be a good > near-term thing to do, but in the longer term, I think it may make > sense to fix this "surprise" and transition the default over time, > i.e. > > "git config --help" is the only end-user facing place the reference > from the configuration variable to the command line option is found. > We should also have a backreference from the command line option to > the configuration variable.
A simple reference in the documentation would be a good first step and the change of the default can than happen over multiple iterations/versions.
Cheers, Wesley
-- Wesley Schwengle E: wesley@schwengle.net