git/list[1] front-page[2] threads[3] people[4] search[5] about
 

js/bisect-in-c, was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 13, 2022, 11:10 UTC
Message-ID
<s3726r9p-r96o-7793-0qrq-o54rs4npr972@tzk.qr>
In-Reply-To
<xmqqo7xufee7.fsf@gitster.g>
Hi Junio,
On Tue, 12 Jul 2022, Junio C Hamano wrote:
Show 22 quoted lines
> * js/bisect-in-c (2022-06-27) 16 commits
>  - bisect: no longer try to clean up left-over `.git/head-name` files
>  - bisect: remove Cogito-related code
>  - Turn `git bisect` into a full built-in
>  - bisect: move even the command-line parsing to `bisect--helper`
>  - bisect: teach the `bisect--helper` command to show the correct usage strings
>  - bisect--helper: return only correct exit codes in `cmd_*()`
>  - bisect--helper: move the `BISECT_STATE` case to the end
>  - bisect--helper: make `--bisect-state` optional
>  - bisect--helper: align the sub-command order with git-bisect.sh
>  - bisect--helper: using `--bisect-state` without an argument is a bug
>  - bisect--helper: really retire `--bisect-autostart`
>  - bisect--helper: really retire --bisect-next-check
>  - bisect--helper: retire the --no-log option
>  - bisect: avoid double-quoting when printing the failed command
>  - bisect run: fix the error message
>  - bisect: verify that a bogus option won't try to start a bisection
>
>  Final bits of "git bisect.sh" have been rewritten in C.
>
>  Expecting a (hopefully final) reroll.
>  cf. <20627.86ilolhnnn.gmgdl@evledraar.gmail.com>

I did not find that one, but I found https://lore.kernel.org/git/220627.86ilolhnnn.gmgdl@evledraar.gmail.com/

And that claims that Git has a convention to universally exit with code 129 when options are passed with incorrect values.

That claim does not survive even minimal contact with Git's source code, though.

If I find some time, I will respond to that mail, but a reroll is actually unnecessary.

>  source: <pull.1132.v4.git.1656354677.gitgitgadget@gmail.com>

Thanks, Dscho

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 10 of 17 in “What's cooking in git.git (Jul 2022, #03; Mon, 11)”
  1. Junio C HamanoJul 12, 2022
  2. gc/bare-repo-discovery (was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11))Glen Choo, Jul 12, 2022
  3. Junio C HamanoJul 13, 2022
  4. Johannes SchindelinJul 14, 2022
  5. Junio C HamanoJul 14, 2022
  6. Philip OakleyJul 12, 2022
  7. Junio C HamanoJul 13, 2022
  8. ac/bitmap-lookup-table (was: Re: What's cooking in git.git (Jul 2022, #03; Mon, 11))Taylor Blau, Jul 12, 2022
  9. Junio C HamanoJul 13, 2022
  10. js/bisect-in-c, was Re: What's cooking in git.git (Jul 2022, #03; Mon, 11)Johannes Schindelin, Jul 13, 2022
  11. Ævar Arnfjörð BjarmasonJul 13, 2022
  12. Junio C HamanoJul 13, 2022
  13. Ævar Arnfjörð BjarmasonJul 14, 2022
  14. Johannes SchindelinJul 14, 2022
  15. Ævar Arnfjörð BjarmasonJul 14, 2022
  16. Johannes SchindelinAug 16, 2022
  17. Ævar Arnfjörð BjarmasonAug 17, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.