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

[PATCH 00/10] bisect: port git bisect merge base checking to C

From
Christian Couder <chriscool@tuxfamily.org>
Date
May 9, 2009, 15:55 UTC
Message-ID
<20090509154419.5324.96204.chriscool@tuxfamily.org>

This patch series continues porting "git bisect next" code from shell in "git-bisect.sh" to C in "bisect.c".

After this series, the bisect ref lookup is done only once in the C code, instead of once in the shell code and once in the C code.

  bisect: use "sha1_array" to store skipped revisions
  bisect: implement "rev_argv_push" to fill an argv with revs
  bisect: store good revisions in a "sha1_array"
  bisect: use new "struct argv_array" to prepare argv for
    "setup_revisions"
  bisect: remove too much function nesting
  bisect: make skipped array functions more generic
  bisect: automatically sort sha1_array if needed when looking it up
  bisect: implement the "check_merge_bases" function
  bisect: add "check_good_are_ancestors_of_bad" function
  bisect: make "git bisect" use new "--next-all" bisect-helper function
 bisect.c                 |  342 ++++++++++++++++++++++++++++++++++++++--------
 bisect.h                 |    2 +-
 builtin-bisect--helper.c |   14 +-
 git-bisect.sh            |  127 +-----------------
 4 files changed, 296 insertions(+), 189 deletions(-)
Next: Christian Couder
Message 1 of 14 in “bisect: port git bisect merge base checking to C”
  1. 00/10 bisect: port git bisect merge base checking to CChristian Couder, May 9, 2009
  2. 01/10 bisect: use "sha1_array" to store skipped revisionsChristian Couder, May 9, 2009
  3. 02/10 bisect: implement "rev_argv_push" to fill an argv with revsChristian Couder, May 9, 2009
  4. 03/10 bisect: store good revisions in a "sha1_array"Christian Couder, May 9, 2009
  5. 04/10 bisect: use new "struct argv_array" to prepare argv for "setup_revisions"Christian Couder, May 9, 2009
  6. 05/10 bisect: remove too much function nestingChristian Couder, May 9, 2009
  7. 06/10 bisect: make skipped array functions more genericChristian Couder, May 9, 2009
  8. 07/10 bisect: automatically sort sha1_array if needed when looking it upChristian Couder, May 9, 2009
  9. Jakub NarebskiMay 9, 2009
  10. Christian CouderMay 10, 2009
  11. 08/10 bisect: implement the "check_merge_bases" functionChristian Couder, May 9, 2009
  12. 09/10 bisect: add "check_good_are_ancestors_of_bad" functionChristian Couder, May 9, 2009
  13. 10/10 bisect: make "git bisect" use new "--next-all" bisect-helper functionChristian Couder, May 9, 2009
  14. Junio C HamanoMay 11, 2009

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.