<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/bisect.h, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-04-08T05:12:44Z</updated>
<entry>
<title>rev-list: add "int bisect_show_flags" in "struct rev_list_info"</title>
<updated>2009-04-08T05:12:44Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-04-07T03:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=13858e5770dd218e5318819d3273c916b46cf8e5'/>
<id>urn:sha1:13858e5770dd218e5318819d3273c916b46cf8e5</id>
<content type='text'>
This is a cleanup patch to make it easier to use the
"show_bisect_vars" function and take advantage of the rev_list_info
struct.

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>rev-list: remove last static vars used in "show_commit"</title>
<updated>2009-04-08T05:12:41Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-04-06T20:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d797257eb280b67dd1f7153a66b03453c0fb927a'/>
<id>urn:sha1:d797257eb280b67dd1f7153a66b03453c0fb927a</id>
<content type='text'>
This patch removes the last static variables that were used in
the "show_commit" function.

To do that, we create a new "rev_list_info" struct that we will pass
in the "void *data" argument to "show_commit".

This means that we have to change the first argument to
"show_bisect_vars" too.

While at it, we also remove a "struct commit_list *list" variable
in "cmd_rev_list" that is not really needed.

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>bisect--helper: string output variables together with "&amp;&amp;"</title>
<updated>2009-04-05T08:29:45Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-30T04:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e89aa6d2f546b2d4f2d88c15ce7e343751d6922f'/>
<id>urn:sha1:e89aa6d2f546b2d4f2d88c15ce7e343751d6922f</id>
<content type='text'>
When doing:

eval "git bisect--helper --next-vars" | {
        while read line
        do
                echo "$line &amp;&amp;"
        done
        echo ':'
}

the result code comes from the last "echo ':'", not from running
"git bisect--helper --next-vars".

This patch gets rid of the need to string together the line from
the output of "git bisect--helper" with "&amp;&amp;" in the calling script
by making "git bisect--helper --next-vars" return output variables
already in that format.

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>rev-list: pass "int flags" as last argument of "show_bisect_vars"</title>
<updated>2009-04-05T08:29:45Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-29T09:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=37c4c38d7356bf256d0297fdbac78ef8b6807fac'/>
<id>urn:sha1:37c4c38d7356bf256d0297fdbac78ef8b6807fac</id>
<content type='text'>
Instead of "int show_all, int show_tried" we now only pass "int flags",
because we will add one more flag in a later patch.

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>bisect--helper: implement "git bisect--helper"</title>
<updated>2009-04-05T08:29:44Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-26T04:55:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1bf072e3661eeef8d9721079a332e804b5678c7e'/>
<id>urn:sha1:1bf072e3661eeef8d9721079a332e804b5678c7e</id>
<content type='text'>
This patch implements a new "git bisect--helper" builtin plumbing
command that will be used to migrate "git-bisect.sh" to C.

We start by implementing only the "--next-vars" option that will
read bisect refs from "refs/bisect/", and then compute the next
bisect step, and output shell variables ready to be eval'ed by
the shell.

At this step, "git bisect--helper" ignores the paths that may
have been put in "$GIT_DIR/BISECT_NAMES". This will be fixed in a
later patch.

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>rev-list: call new "filter_skip" function</title>
<updated>2009-04-05T08:29:35Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-26T04:55:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=951886481668b97485640a1b24fc73fccff0d629'/>
<id>urn:sha1:951886481668b97485640a1b24fc73fccff0d629</id>
<content type='text'>
This patch implements a new "filter_skip" function in C in
"bisect.c" that will later replace the existing implementation in
shell in "git-bisect.sh".

An array is used to store the skipped commits. But the array is
not yet fed anything.

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>rev-list: pass "revs" to "show_bisect_vars"</title>
<updated>2009-03-30T08:22:54Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-26T04:55:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7428d754e2dec9e82253d1e02b4df20fab3f3384'/>
<id>urn:sha1:7428d754e2dec9e82253d1e02b4df20fab3f3384</id>
<content type='text'>
instead of using static "revs" data

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>rev-list: make "show_bisect_vars" non static</title>
<updated>2009-03-30T08:22:54Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-26T04:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6a17fad73369173ca71d3adf0d4335a0c8137cb9'/>
<id>urn:sha1:6a17fad73369173ca71d3adf0d4335a0c8137cb9</id>
<content type='text'>
and declare it in "bisect.h" as we will use this function later.

While at it, rename its last argument "show_all" instead of
"bisect_find_all".

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>rev-list: move bisect related code into its own file</title>
<updated>2009-03-30T08:22:54Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-03-26T04:55:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2ad79ced25e1b76fabec079549f521e8071ddd1'/>
<id>urn:sha1:a2ad79ced25e1b76fabec079549f521e8071ddd1</id>
<content type='text'>
This patch creates new "bisect.c" and "bisect.h" files and move
bisect related code into these files.

While at it, we also remove some include directives that are not
needed any more from the beginning of "builtin-rev-list.c".

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
