<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/bisect.c, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-04-12T20:41:46Z</updated>
<entry>
<title>Merge branch 'jk/bisect-prn-unsigned' into maint</title>
<updated>2013-04-12T20:41:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-04-12T20:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23589a90c3673be5c308cbdd62637bd0cdb6c680'/>
<id>urn:sha1:23589a90c3673be5c308cbdd62637bd0cdb6c680</id>
<content type='text'>
* jk/bisect-prn-unsigned:
  bisect: avoid signed integer overflow
</content>
</entry>
<entry>
<title>bisect: avoid signed integer overflow</title>
<updated>2013-04-03T19:49:14Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-04-03T19:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7b96d8880252d70c334857f80ef54009133dbaf3'/>
<id>urn:sha1:7b96d8880252d70c334857f80ef54009133dbaf3</id>
<content type='text'>
Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Move estimate_bisect_steps to libgit.a</title>
<updated>2012-10-29T07:08:30Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-10-26T15:53:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c43cb38612192fa45bf7ed981a98bc4ddb86ce75'/>
<id>urn:sha1:c43cb38612192fa45bf7ed981a98bc4ddb86ce75</id>
<content type='text'>
This function is used by bisect.c, part of libgit.a while
estimate_bisect_steps stays in builtin/rev-list.c. Move it to bisect.a
so we won't have undefine reference if a standalone program that uses
libgit.a happens to pull it in.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>Call git_pathdup() rather than xstrdup(git_path("..."))</title>
<updated>2012-09-04T20:34:46Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2012-09-04T17:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d292bfaf356338b41e14e40ce4dbd6b9c8d600ec'/>
<id>urn:sha1:d292bfaf356338b41e14e40ce4dbd6b9c8d600ec</id>
<content type='text'>
In addition to updating the two xstrdup(git_path("...")) call sites
with git_pathdup(), we also fix a memory leak by freeing the memory
allocated to the ADD_EDIT.patch 'file' in the edit_patch() function.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: copy filename string obtained from git_path()</title>
<updated>2012-05-03T20:15:35Z</updated>
<author>
<name>Michael Haggerty</name>
<email>mhagger@alum.mit.edu</email>
</author>
<published>2012-04-26T22:26:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=144e7090045a703c8f5d140474f202ba4f38ac9a'/>
<id>urn:sha1:144e7090045a703c8f5d140474f202ba4f38ac9a</id>
<content type='text'>
Prevent the string from being overwritten by other callers of
git_path() and friends before we are done using it.

Signed-off-by: Michael Haggerty &lt;mhagger@alum.mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rs/pending'</title>
<updated>2011-10-14T02:03:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-14T02:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0941d6054524bc91f45bf3cbb1c641712b0e0e6d'/>
<id>urn:sha1:0941d6054524bc91f45bf3cbb1c641712b0e0e6d</id>
<content type='text'>
* rs/pending:
  commit: factor out clear_commit_marks_for_object_array
  checkout: use leak_pending flag
  bundle: use leak_pending flag
  bisect: use leak_pending flag
  revision: add leak_pending flag
  checkout: use add_pending_{object,sha1} in orphan check
  revision: factor out add_pending_sha1
  checkout: check for "Previous HEAD" notice in t2020

Conflicts:
	builtin/checkout.c
	revision.c
</content>
</entry>
<entry>
<title>Merge branch 'jk/argv-array'</title>
<updated>2011-10-05T19:36:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-10-05T19:36:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7a95d1be03d3fdd571bd36ea5b8bc5c59b063249'/>
<id>urn:sha1:7a95d1be03d3fdd571bd36ea5b8bc5c59b063249</id>
<content type='text'>
* jk/argv-array:
  run_hook: use argv_array API
  checkout: use argv_array API
  bisect: use argv_array API
  quote: provide sq_dequote_to_argv_array
  refactor argv_array into generic code
  quote.h: fix bogus comment
  add sha1_array API docs
</content>
</entry>
<entry>
<title>commit: factor out clear_commit_marks_for_object_array</title>
<updated>2011-10-03T18:15:34Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2011-10-01T16:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=86a0a408b900eecc9d0d4a1eb8ae223181e96679'/>
<id>urn:sha1:86a0a408b900eecc9d0d4a1eb8ae223181e96679</id>
<content type='text'>
Factor out the code to clear the commit marks for a whole struct
object_array from builtin/checkout.c into its own exported function
clear_commit_marks_for_object_array and use it in bisect and bundle
as well.  It handles tags and commits and ignores objects of any
other type.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: use leak_pending flag</title>
<updated>2011-10-03T18:15:27Z</updated>
<author>
<name>René Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2011-10-01T16:01:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=353f5657a8263bf4159d7e0450fb891df5e2b4c6'/>
<id>urn:sha1:353f5657a8263bf4159d7e0450fb891df5e2b4c6</id>
<content type='text'>
Instead of creating a copy of the list of pending objects, copy the
struct object_array that points to it, turn on leak_pending, and thus
cause prepare_revision_walk to leave it to us.  And free it once
we're done.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: use argv_array API</title>
<updated>2011-09-14T18:56:57Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-09-13T21:58:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a534b612410b9746ef33af9e4631fc18bd77621'/>
<id>urn:sha1:8a534b612410b9746ef33af9e4631fc18bd77621</id>
<content type='text'>
Now that the argv_array API exists, we can save some lines
of code.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
