aboutsummaryrefslogtreecommitdiffstats
path: root/bisect.c
AgeCommit message (Expand)AuthorFilesLines
14 daysbisect: report the found commit with "show"Peter Krefting1-15/+24
2024-02-29commit-reach(repo_get_merge_bases_many): pass on "missing commits" errorsJohannes Schindelin1-3/+4
2024-02-14Merge branch 'js/check-null-from-read-object-file'Junio C Hamano1-0/+3
2024-02-06Always check the return value of `repo_read_object_file()`Johannes Schindelin1-0/+3
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-1/+0
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-14bisect: consistently write BISECT_EXPECTED_REV via the refdbPatrick Steinhardt1-21/+4
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-04-11treewide: remove cache.h inclusion due to object.h changesElijah Newren1-1/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-4/+7
2023-03-28cocci: apply the "pretty.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
2023-03-28cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-2/+3
2023-03-28cocci: apply the "commit-reach.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-01-13bisect: no longer try to clean up left-over `.git/head-name` filesJohannes Schindelin1-3/+0
2022-10-30replace and remove run_command_v_opt()René Scharfe1-4/+5
2022-10-30bisect: simplify building "checkout" argument listRené Scharfe1-5/+4
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-3/+3
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-3/+4
2022-08-03revisions API: don't leak memory on argv elements that need free()-ingÆvar Arnfjörð Bjarmason1-2/+4
2022-08-03bisect.c: partially fix bisect_rev_setup() memory leakÆvar Arnfjörð Bjarmason1-9/+13
2022-08-03bisect.c: add missing "goto" for release_revisions()Ævar Arnfjörð Bjarmason1-1/+1
2022-04-13revisions API users: use release_revisions() needing REV_INFO_INITÆvar Arnfjörð Bjarmason1-6/+12
2022-04-13revisions API users: add straightforward release_revisions()Ævar Arnfjörð Bjarmason1-0/+2
2022-01-19bisect--helper: double-check run command on exit code 126 and 127René Scharfe1-1/+2
2021-07-28bisect: simplify return code from bisect_checkout()Junio C Hamano1-6/+4
2021-07-28bisect: do not run show-branch just to show the current commitJunio C Hamano1-8/+8
2021-03-13use CALLOC_ARRAYRené Scharfe1-1/+1
2021-02-25Merge branch 'js/params-vs-args'Junio C Hamano1-1/+1
2021-02-23replace "parameters" by "arguments" in error messagesJohannes Sixt1-1/+1
2021-01-04hash-lookup: rename from sha1-lookupMartin Ågren1-1/+1
2020-11-25Merge branch 'sg/bisect-approximately-halfway'Junio C Hamano1-7/+20
2020-11-12bisect: loosen halfway() check for a large number of commitsSZEDER Gábor1-7/+20
2020-10-31bisect: clear flags in passed repositoryRené Scharfe1-1/+1
2020-10-31object: allow clear_commit_marks_all to handle any repoRené Scharfe1-1/+1
2020-09-24bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functi...Pranit Bauva1-2/+9
2020-09-24bisect: call 'clear_commit_marks_all()' in 'bisect_next_all()'Miriam Rubio1-0/+2
2020-08-17Merge branch 'al/bisect-first-parent'Junio C Hamano1-30/+49
2020-08-10Merge branch 'rs/bisect-oid-to-hex-fix'Junio C Hamano1-1/+1
2020-08-07bisect: combine args passed to find_bisection()Aaron Lipman1-30/+37
2020-08-07bisect: introduce first-parent flagAaron Lipman1-1/+4
2020-08-07cmd_bisect__helper: defer parsing no-checkout flagAaron Lipman1-1/+2
2020-08-07rev-list: allow bisect and first-parent flagsAaron Lipman1-10/+18
2020-08-02bisect: use oid_to_hex_r() instead of memcpy()+oid_to_hex()René Scharfe1-1/+1
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: fix indentation in renamed callsJeff King1-1/+1
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-6/+6
2020-07-28quote: rename sq_dequote_to_argv_array to mention strvecJeff King1-1/+1
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-03-30bisect: stop referring to sha1_arrayJeff King1-3/+3
2020-03-30oid_array: rename source file from sha1-arrayJeff King1-1/+1
2020-02-19bisect: libify `bisect_next_all`Pranit Bauva1-10/+19
2020-02-19bisect: libify `handle_bad_merge_base` and its dependentsPranit Bauva1-4/+5
2020-02-19bisect: libify `check_good_are_ancestors_of_bad` and its dependentsPranit Bauva1-14/+27
2020-02-19bisect: libify `check_merge_bases` and its dependentsPranit Bauva1-4/+18
2020-02-19bisect: libify `bisect_checkout`Pranit Bauva1-4/+15
2020-02-19bisect: libify `exit_if_skipped_commits` to `error_if_skipped*` and its depen...Pranit Bauva1-6/+11
2020-02-19bisect: add enum to represent bisect returning codesMiriam Rubio1-1/+1
2020-02-19bisect: use the standard 'if (!var)' way to check for 0Miriam Rubio1-2/+2
2019-08-19bisect: switch to using the_hash_algobrian m. carlson1-1/+1
2019-03-01bisect: make diff-tree output prettierJeff King1-2/+2
2019-03-01bisect: fix internal diff-tree config loadingJeff King1-1/+1
2019-03-01bisect: use string arguments to feed internal diff-treeJeff King1-13/+4
2019-02-06Merge branch 'ds/push-sparse-tree-walk'Junio C Hamano1-1/+1
2019-01-18Merge branch 'nd/style-opening-brace'Junio C Hamano1-1/+2
2019-01-17list-objects: consume sparse tree walkDerrick Stolee1-1/+1
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-11-12bisect.c: remove the_repository referenceNguyễn Thái Ngọc Duy1-20/+28
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-2/+2
2018-09-21revision.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-2/+2
2018-09-17Merge branch 'nd/bisect-show-list-fix'Junio C Hamano1-5/+5
2018-09-17Merge branch 'jk/cocci'Junio C Hamano1-3/+3
2018-09-04bisect.c: make show_list() build againNguyễn Thái Ngọc Duy1-5/+5
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-2/+2
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+1
2018-05-21bisect.c: use commit-slab for commit weight instead of commit->utilNguyễn Thái Ngọc Duy1-3/+9
2018-04-10Merge branch 'ys/bisect-object-id-missing-conversion-fix'Junio C Hamano1-2/+2
2018-03-25bisect: use oid_to_hex() for converting object_id hashes to hex stringsRené Scharfe1-2/+2
2018-03-14sha1_file: convert read_sha1_file to struct object_idbrian m. carlson1-1/+2
2018-01-23Merge branch 'ys/bisect-object-id-missing-conversion-fix'Junio C Hamano1-3/+3
2018-01-23Merge branch 'rs/lose-leak-pending'Junio C Hamano1-21/+9
2018-01-10Merge branch 'ma/bisect-leakfix'Junio C Hamano1-2/+4
2018-01-09bisect: debug: convert struct object to object_idYasushi SHOJI1-3/+3
2018-01-03bisect: fix a regression causing a segfaultÆvar Arnfjörð Bjarmason1-2/+4
2017-12-28bisect: avoid using the rev_info flag leak_pendingRené Scharfe1-21/+9
2017-11-15Merge branch 'mh/tidy-ref-update-flags'Junio C Hamano1-1/+1
2017-11-15Merge branch 'ma/bisect-leakfix'Junio C Hamano1-14/+19
2017-11-06Merge branch 'bc/object-id'Junio C Hamano1-2/+3
2017-11-06bisect: fix memory leak when returning best elementMartin Ågren1-1/+5
2017-11-06bisect: fix off-by-one error in `best_bisection_sorted()`Martin Ågren1-3/+4
2017-11-06bisect: fix memory leak in `find_bisection()`Martin Ågren1-1/+3
2017-11-06bisect: change calling-convention of `find_bisection()`Martin Ågren1-9/+7
2017-10-16refs: convert update_ref and refs_update_ref to use struct object_idbrian m. carlson1-2/+3
2017-10-06bisect--helper: `bisect_clean_state` shell function in CPranit Bauva1-0/+42
2017-09-29Merge branch 'ma/leakplugs'Junio C Hamano1-1/+2
2017-09-24leak_pending: use `object_array_clear()`, not `free()`Martin Ågren1-1/+2
2017-07-17bisect: convert bisect_checkout to struct object_idbrian m. carlson1-9/+9
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-5/+2
2017-06-04Merge branch 'ab/c-translators-comment-style'Junio C Hamano1-2/+4
2017-05-31C style: use standard style for "TRANSLATORS" commentsÆvar Arnfjörð Bjarmason1-2/+4
2017-05-29Merge branch 'jk/update-links-in-docs'Junio C Hamano1-1/+1
2017-05-26wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy1-1/+1
2017-05-26use xfopen() in more placesNguyễn Thái Ngọc Duy1-4/+1
2017-05-15doc: use https links to Wikipedia to avoid http redirectsSven Strickroth1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-1/+1
2017-04-26Merge branch 'jk/war-on-git-path'Junio C Hamano1-1/+2
2017-04-20bisect: add git_path_bisect_terms helperJeff King1-1/+2
2017-04-19Merge branch 'bc/object-id'Junio C Hamano1-22/+21
2017-03-31Rename sha1_array to oid_arraybrian m. carlson1-8/+8
2017-03-31Convert sha1_array_lookup to take struct object_idbrian m. carlson1-4/+3
2017-03-31Convert remaining callers of sha1_array_lookup to object_idbrian m. carlson1-7/+7
2017-03-31Make sha1_array_append take a struct object_id *brian m. carlson1-2/+2
2017-03-30replace unchecked snprintf calls with heap buffersJeff King1-3/+5
2017-03-28sha1-array: convert internal storage for struct sha1_array to object_idbrian m. carlson1-7/+7
2017-03-26Convert GIT_SHA1_HEXSZ used for allocation to GIT_MAX_HEXSZbrian m. carlson1-1/+1
2017-03-16Merge branch 'mm/two-more-xstrfmt' into maintJunio C Hamano1-4/+5
2017-02-27Merge branch 'mm/two-more-xstrfmt'Junio C Hamano1-4/+5
2017-02-16bisect_next_all: convert xsnprintf to xstrfmtMaxim Moseychuk1-4/+5
2016-12-05bisect: improve English grammar of not-ancestors messageAlex Henrie1-1/+1
2016-09-29use QSORTRené Scharfe1-1/+1
2016-07-19Merge branch 'jk/printf-format'Junio C Hamano1-1/+4
2016-07-19Merge branch 'bc/cocci'Junio C Hamano1-1/+1
2016-07-13Merge branch 'va/i18n-even-more'Junio C Hamano1-25/+31
2016-07-08commit.c: remove print_commit_list()Junio C Hamano1-1/+4
2016-07-06Merge branch 'jk/bisect-show-tree'Junio C Hamano1-0/+1
2016-06-28coccinelle: apply object_id Coccinelle transformationsbrian m. carlson1-1/+1
2016-06-17i18n: bisect: mark strings for translationVasco Almeida1-25/+31
2016-06-16bisect: always call setup_revisions after init_revisionsJeff King1-0/+1
2016-05-09bisect.c: use die_errno() and warning_errno()Nguyễn Thái Ngọc Duy1-4/+3
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-2/+2
2016-02-22convert trivial cases to ALLOC_ARRAYJeff King1-2/+2
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-4/+4
2015-11-20Remove get_object_hash.brian m. carlson1-3/+3
2015-11-20Convert struct object to object_idbrian m. carlson1-2/+2
2015-11-20Add several uses of get_object_hash.brian m. carlson1-3/+3
2015-10-05Merge branch 'ad/bisect-terms'Junio C Hamano1-3/+8
2015-08-25Merge branch 'dt/refs-pseudo'Junio C Hamano1-29/+8
2015-08-19Merge branch 'jk/git-path'Junio C Hamano1-2/+5
2015-08-10memoize common git-path "constant" filesJeff King1-2/+5
2015-08-03bisect: add the terms old/newAntoine Delaite1-3/+8
2015-08-03bisect: simplify the addition of new bisect termsAntoine Delaite1-2/+31
2015-07-31bisect: use update_refDavid Turner1-29/+8
2015-06-29bisect: replace hardcoded "bad|good" by variablesAntoine Delaite1-17/+37
2015-06-23bisect: correction of typoAntoine Delaite1-1/+1
2015-05-25register_ref(): rewrite to take an object_id argumentMichael Haggerty1-8/+5
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-1/+4
2015-03-13bisect.c: convert leaf functions to use struct object_idbrian m. carlson1-20/+20
2015-01-07Merge branch 'jc/merge-bases'Junio C Hamano1-1/+1
2014-10-30get_merge_bases(): always clean-up object flagsJunio C Hamano1-1/+1
2014-10-30bisect: clean flags after checking merge basesJunio C Hamano1-1/+1
2014-09-11Merge branch 'jk/name-decoration-alloc'Junio C Hamano1-3/+4
2014-08-26log-tree: make add_name_decoration a public functionJeff King1-3/+4
2014-04-03Merge branch 'nd/log-show-linear-break'Junio C Hamano1-2/+1
2014-03-25object.h: centralize object flag allocationNguyễn Thái Ngọc Duy1-2/+1
2014-02-27Merge branch 'ep/varscope'Junio C Hamano1-1/+1
2014-01-31bisect.c: reduce scope of variableElia Pinto1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-2/+2
2013-08-28list-objects: reduce one argument in mark_edges_uninterestingNguyễn Thái Ngọc Duy1-1/+1
2013-06-02register_ref(): make a copy of the bad reference SHA-1Michael Haggerty1-2/+3
2013-04-07Merge branch 'jk/bisect-prn-unsigned'Junio C Hamano1-2/+2
2013-04-03bisect: avoid signed integer overflowJohn Keeping1-2/+2
2012-10-29Move estimate_bisect_steps to libgit.aNguyễn Thái Ngọc Duy1-0/+38
2012-09-04Call git_pathdup() rather than xstrdup(git_path("..."))Ramsay Jones1-1/+1
2012-05-03bisect: copy filename string obtained from git_path()Michael Haggerty1-3/+5
2011-10-13Merge branch 'rs/pending'Junio C Hamano1-10/+10
2011-10-05Merge branch 'jk/argv-array'Junio C Hamano1-37/+11
2011-10-03commit: factor out clear_commit_marks_for_object_arrayRené Scharfe1-5/+2
2011-10-03bisect: use leak_pending flagRené Scharfe1-5/+8
2011-09-14bisect: use argv_array APIJeff King1-37/+11
2011-08-04bisect: introduce support for --no-checkout option.Jon Seymour1-11/+22
2011-05-19bisect: refactor sha1_array into a generic sha1 listJeff King1-55/+15
2010-07-23bisect: use find_commit_subject() instead of custom codeChristian Couder1-8/+5
2010-03-01Merge branch 'cc/maint-bisect-paths'Junio C Hamano1-0/+6
2010-03-01bisect: error out when passing bad path parametersChristian Couder1-0/+6
2010-01-20Merge branch 'jc/symbol-static'Junio C Hamano1-1/+1
2010-01-19Merge branch 'maint'Junio C Hamano1-3/+5
2010-01-19bisect: fix singular/plural grammar nitDavid Ripton1-3/+5
2010-01-11bisect.c: mark file-local function staticJunio C Hamano1-1/+1
2010-01-03Use warning function instead of fprintf(stderr, "Warning: ...").Thiago Farina1-2/+2
2009-08-26git-bisect: call the found commit "*the* first bad commit"Nanako Shiraishi1-1/+1
2009-07-06Merge branch 'tr/die_errno'Junio C Hamano1-3/+2
2009-07-01Merge branch 'cc/bisect'Junio C Hamano1-11/+39
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-3/+2
2009-06-20Fix various sparse warnings in the git source codeLinus Torvalds1-2/+2
2009-06-13bisect: use a PRNG with a bias when skipping away from untestable commitsChristian Couder1-11/+39
2009-06-06bisect: when skipping, choose a commit away from a skipped commitChristian Couder1-1/+49
2009-06-06bisect: add parameters to "filter_skipped"Christian Couder1-4/+36
2009-05-28bisect: display first bad commit without forking a new processChristian Couder1-3/+27
2009-05-27bisect: drop unparse_commit() and use clear_commit_marks()Christian Couder1-1/+1
2009-05-17bisect: check ancestors without forking a "git rev-list" processChristian Couder1-32/+22
2009-05-17bisect: rework some rev related functions to make them more reusableChristian Couder1-11/+14
2009-05-10bisect: make "git bisect" use new "--next-all" bisect-helper functionChristian Couder1-1/+3