<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-bisect.sh, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-10-04T19:49:08Z</updated>
<entry>
<title>Merge branch 'mr/bisect-in-c-2'</title>
<updated>2020-10-04T19:49:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-04T19:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f4cc68cbd078d5c0dd707384c802510261c67a28'/>
<id>urn:sha1:f4cc68cbd078d5c0dd707384c802510261c67a28</id>
<content type='text'>
Rewrite of the "git bisect" script in C continues.

* mr/bisect-in-c-2:
  bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functions in C
  bisect: call 'clear_commit_marks_all()' in 'bisect_next_all()'
  bisect--helper: reimplement `bisect_autostart` shell function in C
  bisect--helper: introduce new `write_in_file()` function
  bisect--helper: use '-res' in 'cmd_bisect__helper' return
  bisect--helper: BUG() in cmd_*() on invalid subcommand
</content>
</entry>
<entry>
<title>bisect--helper: reimplement `bisect_next` and `bisect_auto_next` shell functions in C</title>
<updated>2020-09-24T19:06:30Z</updated>
<author>
<name>Pranit Bauva</name>
<email>pranit.bauva@gmail.com</email>
</author>
<published>2020-09-24T12:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=517ecb3161daa4503f7638489fd44177b3659913'/>
<id>urn:sha1:517ecb3161daa4503f7638489fd44177b3659913</id>
<content type='text'>
Reimplement the `bisect_next()` and the `bisect_auto_next()` shell functions
in C and add the subcommands to `git bisect--helper` to call them from
git-bisect.sh .

bisect_auto_next() function returns an enum bisect_error type as whole
`git bisect` can exit with an error code when bisect_next() does.

Return an error when `bisect_next()` fails, that fix a bug on shell script
version.

Using `--bisect-next` and `--bisect-auto-next` subcommands is a
temporary measure to port shell function to C so as to use the existing
test suite. As more functions are ported, `--bisect-auto-next`
subcommand will be retired and will be called by some other methods.

Mentored-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Mentored-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Pranit Bauva &lt;pranit.bauva@gmail.com&gt;
Signed-off-by: Tanushree Tumane &lt;tanushreetumane@gmail.com&gt;
Signed-off-by: Miriam Rubio &lt;mirucam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect--helper: reimplement `bisect_autostart` shell function in C</title>
<updated>2020-09-24T19:06:30Z</updated>
<author>
<name>Pranit Bauva</name>
<email>pranit.bauva@gmail.com</email>
</author>
<published>2020-09-24T12:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=09535f056b08445e28c4881064b8435fb434d760'/>
<id>urn:sha1:09535f056b08445e28c4881064b8435fb434d760</id>
<content type='text'>
Reimplement the `bisect_autostart()` shell function in C and add the
C implementation from `bisect_next()` which was previously left
uncovered.

Add `--bisect-autostart` subcommand to be called from git-bisect.sh.
Using `--bisect-autostart` subcommand is a temporary measure to port
the shell function to C so as to use the existing test suite. As more
functions are ported, this subcommand will be retired and
bisect_autostart() will be called directly by `bisect_state()`.

Change behavior of shell script that returned success when user aborted
the bisection.

Mentored-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Mentored-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Pranit Bauva &lt;pranit.bauva@gmail.com&gt;
Signed-off-by: Tanushree Tumane &lt;tanushreetumane@gmail.com&gt;
Signed-off-by: Miriam Rubio &lt;mirucam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'hl/bisect-doc-clarify-bad-good-ordering'</title>
<updated>2020-09-03T19:37:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-09-03T19:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da6b99c39abee3f6882ac35814485330bd344dfd'/>
<id>urn:sha1:da6b99c39abee3f6882ac35814485330bd344dfd</id>
<content type='text'>
Doc update.

* hl/bisect-doc-clarify-bad-good-ordering:
  bisect: swap command-line options in documentation
</content>
</entry>
<entry>
<title>Merge branch 'al/bisect-first-parent'</title>
<updated>2020-08-31T22:49:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-08-31T22:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b9ccc5e2b445c048b2165eef0cde103eb00c1673'/>
<id>urn:sha1:b9ccc5e2b445c048b2165eef0cde103eb00c1673</id>
<content type='text'>
Finishing touches.

* al/bisect-first-parent:
  bisect: add first-parent option to documentation
</content>
</entry>
<entry>
<title>bisect: swap command-line options in documentation</title>
<updated>2020-08-28T21:06:06Z</updated>
<author>
<name>Hugo Locurcio</name>
<email>hugo.locurcio@hugo.pro</email>
</author>
<published>2020-08-28T15:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef4d9f8a32f472feacb135c4e0508d53d0f93fb0'/>
<id>urn:sha1:ef4d9f8a32f472feacb135c4e0508d53d0f93fb0</id>
<content type='text'>
The positional arguments are specified in this order: "bad" then "good".
To avoid confusion, the options above the positional arguments
are now specified in the same order. They can still be specified in any
order since they're options, not positional arguments.

Signed-off-by: Hugo Locurcio &lt;hugo.locurcio@hugo.pro&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: add first-parent option to documentation</title>
<updated>2020-08-22T21:03:35Z</updated>
<author>
<name>Aaron Lipman</name>
<email>alipman88@gmail.com</email>
</author>
<published>2020-08-22T20:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6028f5f661d5e701f410a8183d69f22871456ef7'/>
<id>urn:sha1:6028f5f661d5e701f410a8183d69f22871456ef7</id>
<content type='text'>
Ensure that the [--first-parent] option is listed in the output of
"git bisect -h".

Signed-off-by: Aaron Lipman &lt;alipman88@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'al/bisect-first-parent'</title>
<updated>2020-08-18T00:02:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-08-18T00:02:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47f0f94bc796037c43000a9852cdf9209a3c3274'/>
<id>urn:sha1:47f0f94bc796037c43000a9852cdf9209a3c3274</id>
<content type='text'>
"git bisect" learns the "--first-parent" option to find the first
breakage along the first-parent chain.

* al/bisect-first-parent:
  bisect: combine args passed to find_bisection()
  bisect: introduce first-parent flag
  cmd_bisect__helper: defer parsing no-checkout flag
  rev-list: allow bisect and first-parent flags
  t6030: modernize "git bisect run" tests
</content>
</entry>
<entry>
<title>cmd_bisect__helper: defer parsing no-checkout flag</title>
<updated>2020-08-07T22:13:03Z</updated>
<author>
<name>Aaron Lipman</name>
<email>alipman88@gmail.com</email>
</author>
<published>2020-08-07T21:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=be5fe2000df5c1110d8086e4704e1a90a64f7387'/>
<id>urn:sha1:be5fe2000df5c1110d8086e4704e1a90a64f7387</id>
<content type='text'>
cmd_bisect__helper() is intended as a temporary shim layer serving as an
interface for git-bisect.sh. This function and git-bisect.sh should
eventually be replaced by a C implementation, cmd_bisect(), serving as
an entrypoint for all "git bisect ..." shell commands: cmd_bisect() will
only parse the first token following "git bisect", and dispatch the
remaining args to the appropriate function ["bisect_start()",
"bisect_next()", etc.].

Thus, cmd_bisect__helper() should not be responsible for parsing flags
like --no-checkout. Instead, let the --no-checkout flag remain in the
argv array, so it may be evaluated alongside the other options already
parsed by bisect_start().

Signed-off-by: Aaron Lipman &lt;alipman88@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: treat BISECT_HEAD as a pseudo ref</title>
<updated>2020-07-10T20:53:37Z</updated>
<author>
<name>Han-Wen Nienhuys</name>
<email>hanwen@google.com</email>
</author>
<published>2020-07-10T17:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=de966e39a8ba585e6cb0483c49e562c2f6eb3f77'/>
<id>urn:sha1:de966e39a8ba585e6cb0483c49e562c2f6eb3f77</id>
<content type='text'>
Both the git-bisect.sh as bisect--helper inspected the file system
directly.

Signed-off-by: Han-Wen Nienhuys &lt;hanwen@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
