<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-bisect.sh, branch v2.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.6.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-08-03T18:42:42Z</updated>
<entry>
<title>bisect: don't mix option parsing and non-trivial code</title>
<updated>2015-08-03T18:42:42Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-06-29T15:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4a6ada32cb64b0eba8b6f995e4230f0c722fd580'/>
<id>urn:sha1:4a6ada32cb64b0eba8b6f995e4230f0c722fd580</id>
<content type='text'>
As-is, the revisions that appear on the command-line are processed in
order. This would mix badly with code that changes the configuration
(e.g. change $TERM_GOOD and $TERM_BAD) while processing the options.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: simplify the addition of new bisect terms</title>
<updated>2015-08-03T18:42:41Z</updated>
<author>
<name>Antoine Delaite</name>
<email>antoine.delaite@ensimag.grenoble-inp.fr</email>
</author>
<published>2015-06-29T15:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cb46d630baf780412f8ca0592531880b592f0922'/>
<id>urn:sha1:cb46d630baf780412f8ca0592531880b592f0922</id>
<content type='text'>
We create a file BISECT_TERMS in the repository .git to be read during a
bisection. There's no user-interface yet, but "git bisect" works if terms
other than old/new or bad/good are set in .git/BISECT_TERMS. The
fonctions to be changed if we add new terms are quite few.

In git-bisect.sh:
	check_and_set_terms
	bisect_voc

Co-authored-by: Louis Stuber &lt;stuberl@ensimag.grenoble-inp.fr&gt;
Tweaked-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Antoine Delaite &lt;antoine.delaite@ensimag.grenoble-inp.fr&gt;
Signed-off-by: Louis Stuber &lt;stuberl@ensimag.grenoble-inp.fr&gt;
Signed-off-by: Valentin Duperray &lt;Valentin.Duperray@ensimag.imag.fr&gt;
Signed-off-by: Franck Jonas &lt;Franck.Jonas@ensimag.imag.fr&gt;
Signed-off-by: Lucien Kong &lt;Lucien.Kong@ensimag.imag.fr&gt;
Signed-off-by: Thomas Nguy &lt;Thomas.Nguy@ensimag.imag.fr&gt;
Signed-off-by: Huynh Khoi Nguyen Nguyen &lt;Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: replace hardcoded "bad|good" by variables</title>
<updated>2015-06-29T20:19:12Z</updated>
<author>
<name>Antoine Delaite</name>
<email>antoine.delaite@ensimag.grenoble-inp.fr</email>
</author>
<published>2015-06-29T15:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=43f9d9f3a6c6004853fcc7b283dafc3590478498'/>
<id>urn:sha1:43f9d9f3a6c6004853fcc7b283dafc3590478498</id>
<content type='text'>
To add new tags like old/new and have keywords less confusing, the
first step is to avoid hardcoding the keywords.

The default mode is still bad/good.

Signed-off-by: Antoine Delaite &lt;antoine.delaite@ensimag.grenoble-inp.fr&gt;
Signed-off-by: Louis Stuber &lt;stuberl@ensimag.grenoble-inp.fr&gt;
Signed-off-by: Valentin Duperray &lt;Valentin.Duperray@ensimag.imag.fr&gt;
Signed-off-by: Franck Jonas &lt;Franck.Jonas@ensimag.imag.fr&gt;
Signed-off-by: Lucien Kong &lt;Lucien.Kong@ensimag.imag.fr&gt;
Signed-off-by: Thomas Nguy &lt;Thomas.Nguy@ensimag.imag.fr&gt;
Signed-off-by: Huynh Khoi Nguyen Nguyen &lt;Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>standardize usage info string format</title>
<updated>2015-01-14T17:32:04Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2015-01-13T07:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b'/>
<id>urn:sha1:9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b</id>
<content type='text'>
This patch puts the usage info strings that were not already in docopt-
like format into docopt-like format, which will be a litle easier for
end users and a lot easier for translators. Changes include:

- Placing angle brackets around fill-in-the-blank parameters
- Putting dashes in multiword parameter names
- Adding spaces to [-f|--foobar] to make [-f | --foobar]
- Replacing &lt;foobar&gt;* with [&lt;foobar&gt;...]

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: parse revs before passing them to check_expected_revs()</title>
<updated>2014-12-29T19:19:55Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2014-12-25T18:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6bc02d5627358f6a264c5dbb159b5a9aeb44ebf4'/>
<id>urn:sha1:6bc02d5627358f6a264c5dbb159b5a9aeb44ebf4</id>
<content type='text'>
When running for example "git bisect bad HEAD" or
"git bisect good master", the parameter passed to
"git bisect (bad|good)" has to be parsed into a
commit hash before checking if it is the expected
commit or not.

We could do that in is_expected_rev() or in
check_expected_revs(), but it is already done in
bisect_state(). Let's just store the hash values
that result from this parsing, and then reuse
them after all the parsing is done.

This way we can also use a for loop over these
values to call bisect_write() on them, instead of
using eval.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>grammofix in user-facing messages</title>
<updated>2014-09-02T19:00:30Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2014-08-30T19:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ad5fe3771b50f3862130d150b5cc8bb316ef6f1c'/>
<id>urn:sha1:ad5fe3771b50f3862130d150b5cc8bb316ef6f1c</id>
<content type='text'>
Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-bisect.sh: avoid "test &lt;cond&gt; -a/-o &lt;cond&gt;"</title>
<updated>2014-06-09T21:47:07Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-06-06T14:55:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c82af12a1bde56fd7c3b984688ef7fe9f4c44b6e'/>
<id>urn:sha1:c82af12a1bde56fd7c3b984688ef7fe9f4c44b6e</id>
<content type='text'>
The construct is error-prone; "test" being built-in in most modern
shells, the reason to avoid "test &lt;cond&gt; &amp;&amp; test &lt;cond&gt;" spawning
one extra process by using a single "test &lt;cond&gt; -a &lt;cond&gt;" no
longer exists.

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-bisect.sh: fix a few style issues</title>
<updated>2014-03-04T02:29:34Z</updated>
<author>
<name>Jacopo Notarstefano</name>
<email>jacopo.notarstefano@gmail.com</email>
</author>
<published>2014-03-04T00:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=305a233c98b2cc2f779789b7003544bbbb93fc14'/>
<id>urn:sha1:305a233c98b2cc2f779789b7003544bbbb93fc14</id>
<content type='text'>
Redirection operators should have a space before them, but not after them.

Signed-off-by: Jacopo Notarstefano &lt;jacopo.notarstefano@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>typofixes: fix misspelt comments</title>
<updated>2013-11-12T17:24:27Z</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2013-11-12T15:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=382d20e3ebc69ad20f54e71fc5f6ca17baa23973'/>
<id>urn:sha1:382d20e3ebc69ad20f54e71fc5f6ca17baa23973</id>
<content type='text'>
Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: Fix log output for multi-parent skip ranges</title>
<updated>2013-05-22T22:40:43Z</updated>
<author>
<name>Torstein Hegge</name>
<email>hegge@resisty.net</email>
</author>
<published>2013-05-22T22:27:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7358a672b2c9df7473961e66e18714963b2bc107'/>
<id>urn:sha1:7358a672b2c9df7473961e66e18714963b2bc107</id>
<content type='text'>
The bisect log output of skipped commits introduced in f989cac "bisect:
Log possibly bad, skipped commits at bisection end" should obtain the range of
skipped commits from

    git rev-list bad --not good-1 good-2

not

    git rev-list bad --not good-1 --not good-2

when the skipped range contains a merge with good points in each parent.

Signed-off-by: Torstein Hegge &lt;hegge@resisty.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
