Re: [PATCH v4 12/16] bisect: teach the `bisect--helper` command to show the correct usage strings
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 27, 2022, 22:11 UTC
- Message-ID
- <xmqqwnd1n4de.fsf@gitster.g>
- In-Reply-To
- <5dbe233e4ec2f404bb236a8ee71d24e8cb6a4387.1656354677.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > In preparation for `bisect--helper` graduating to become the actual > `bisect` command, we hereby teach it to print the very same usage > strings as the scripted `git-bisect.sh` does.
Sounds good. If we stop the series at this stage, a misimplemented caller might give us an awkweard output, but we are not expecting end-users to invoke "git bisect--helper -h" to begin with, so it is perfectly OK. Somewhere during the journey to fully move it to builtin/bisect.c this needs to be done, and this step may probably be the right spot in the series.