<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-bisect.sh, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2011-10-18T04:37:09Z</updated>
<entry>
<title>Merge branch 'js/bisect-no-checkout'</title>
<updated>2011-10-18T04:37:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-18T04:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=a9af6c451d68267a605b7b7385cdffa939b167b2'/>
<id>urn:sha1:a9af6c451d68267a605b7b7385cdffa939b167b2</id>
<content type='text'>
* js/bisect-no-checkout:
  bisect: fix exiting when checkout failed in bisect_start()
</content>
</entry>
<entry>
<title>bisect: fix exiting when checkout failed in bisect_start()</title>
<updated>2011-09-21T11:55:15Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2011-09-21T05:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1acf11717f01b542e099544796f00df567a66e90'/>
<id>urn:sha1:1acf11717f01b542e099544796f00df567a66e90</id>
<content type='text'>
Commit 4796e823 ("bisect: introduce --no-checkout support into porcelain." Aug 4 2011)
made checking out the branch where we started depends on the "checkout" mode. But
unfortunately it lost the "|| exit" part after the checkout command.

As it makes no sense to continue if the checkout failed and as people have already
complained that the error message given when we just exit in this case is not clear, see:

http://thread.gmane.org/gmane.comp.version-control.git/180733/

this patch adds a "|| die &lt;hopefully clear message&gt;" part after the checkout command.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Acked-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: take advantage of gettextln, eval_gettextln.</title>
<updated>2011-08-30T23:19:57Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-30T23:09:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3145b1a282fde9a4485662fbc77e0075f6fe7517'/>
<id>urn:sha1:3145b1a282fde9a4485662fbc77e0075f6fe7517</id>
<content type='text'>
Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: add support for bisecting bare repositories</title>
<updated>2011-08-09T17:26:18Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-09T02:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=24c512803dadf61b2f7f8965735b7c3a03f6147e'/>
<id>urn:sha1:24c512803dadf61b2f7f8965735b7c3a03f6147e</id>
<content type='text'>
This enhances the support for bisecting history in bare repositories.

The "git bisect" command no longer needs to be run inside a repository
with a working tree; it defaults to --no-checkout when run in a bare
repository.

Two tests are included to demonstrate this behaviour.

Suggested-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: further style nitpicks</title>
<updated>2011-08-05T17:13:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-08-05T17:09:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=43b8ff4b149bb3e17271608380b4a73c2e290b77'/>
<id>urn:sha1:43b8ff4b149bb3e17271608380b4a73c2e290b77</id>
<content type='text'>
Fix a few remaining lines that indented with spaces.

Also simplify the logic of checking out the original branch and reporting
error during "bisect reset".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: replace "; then" with "\n&lt;tab&gt;*then"</title>
<updated>2011-08-05T17:04:44Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-05T11:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=eef12a9a7782bfe12f1ef870aa73143622be2ac1'/>
<id>urn:sha1:eef12a9a7782bfe12f1ef870aa73143622be2ac1</id>
<content type='text'>
Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: cleanup whitespace errors in git-bisect.sh.</title>
<updated>2011-08-05T17:01:30Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-05T11:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6021be866f904914e901d55f07adee980335d07d'/>
<id>urn:sha1:6021be866f904914e901d55f07adee980335d07d</id>
<content type='text'>
All leading whitespace is now encoded with tabs.

After this patch, the following is true:

	RAW=$(cat git-bisect.sh | md5sum) &amp;&amp;
	ROUNDTRIP=$(cat git-bisect.sh | expand -i - | unexpand --first-only - | md5sum) &amp;&amp;
	LEADING=$(sed -n "/^  */p" &lt; git-bisect.sh | wc -l) &amp;&amp;
	test $RAW = $ROUNDTRIP &amp;&amp;
	test $LEADING = 0 &amp;&amp;
	test -z "$(git diff -w HEAD~1 HEAD)"

Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: introduce --no-checkout support into porcelain.</title>
<updated>2011-08-04T22:35:30Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-04T12:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4796e823a3d24d29dbcccfda166d6c88051cbfaa'/>
<id>urn:sha1:4796e823a3d24d29dbcccfda166d6c88051cbfaa</id>
<content type='text'>
git-bisect can now perform bisection of a history without performing
a checkout at each stage of the bisection process. Instead, HEAD is updated.

One use-case for this function is allow git bisect to be used with
damaged repositories where git checkout would fail because the tree
referenced by the commit is damaged.

It can also be used in other cases where actual checkout of the tree
is not required to progress the bisection.

Improved-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Improved-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Improved-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: use &amp;&amp; to connect statements that are deferred with eval.</title>
<updated>2011-08-04T22:33:34Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-04T12:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6ba7acffdd24e9ed9b31e503ce87f2af31cd0883'/>
<id>urn:sha1:6ba7acffdd24e9ed9b31e503ce87f2af31cd0883</id>
<content type='text'>
Christian Couder pointed out that the existing eval strategy
swallows an initial non-zero return. Using &amp;&amp; to connect
the statements should fix this.

Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: move argument parsing before state modification.</title>
<updated>2011-08-04T22:32:34Z</updated>
<author>
<name>Jon Seymour</name>
<email>jon.seymour@gmail.com</email>
</author>
<published>2011-08-04T12:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4764f46492b0849ce3cf2f527978acd9c2d5f7e6'/>
<id>urn:sha1:4764f46492b0849ce3cf2f527978acd9c2d5f7e6</id>
<content type='text'>
Currently 'git bisect start' modifies some state prior to checking
that its arguments are valid.

This change moves argument validation before state modification
with the effect that state modification does not occur
unless argument validations succeeds.

An existing test is changed to check that new bisect state
is not created if arguments are invalid.

A new test is added to check that existing bisect state
is not modified if arguments are invalid.

Signed-off-by: Jon Seymour &lt;jon.seymour@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
