<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.h, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-02-15T23:18:11Z</updated>
<entry>
<title>Merge branch 'rs/lose-leak-pending' into maint</title>
<updated>2018-02-15T23:18:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-02-15T23:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e17cec27d18c730dae738684d2f5df1dbd54a804'/>
<id>urn:sha1:e17cec27d18c730dae738684d2f5df1dbd54a804</id>
<content type='text'>
API clean-up around revision traversal.

* rs/lose-leak-pending:
  commit: remove unused function clear_commit_marks_for_object_array()
  revision: remove the unused flag leak_pending
  checkout: avoid using the rev_info flag leak_pending
  bundle: avoid using the rev_info flag leak_pending
  bisect: avoid using the rev_info flag leak_pending
  object: add clear_commit_marks_all()
  ref-filter: use clear_commit_marks_many() in do_merge_filter()
  commit: use clear_commit_marks_many() in remove_redundant()
  commit: avoid allocation in clear_commit_marks_many()
</content>
</entry>
<entry>
<title>commit: remove unused function clear_commit_marks_for_object_array()</title>
<updated>2017-12-28T21:50:05Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-12-25T17:48:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6fcec2f9aeeac6329ecf2f7084173f5b4346588b'/>
<id>urn:sha1:6fcec2f9aeeac6329ecf2f7084173f5b4346588b</id>
<content type='text'>
Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>format: create pretty.h file</title>
<updated>2017-12-12T18:39:43Z</updated>
<author>
<name>Olga Telezhnaya</name>
<email>olyatelezhnaya@gmail.com</email>
</author>
<published>2017-12-12T08:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cf3947193c496132f653cc19ecb2771afd0acd1e'/>
<id>urn:sha1:cf3947193c496132f653cc19ecb2771afd0acd1e</id>
<content type='text'>
Create header for pretty.c to make formatting interface more structured.
This is a middle point, this file would be merged further with other
files which contain formatting stuff.

Signed-off-by: Olga Telezhnaia &lt;olyatelezhnaya@gmail.com&gt;
Mentored-by: Christian Couder &lt;christian.couder@gmail.com&gt;
Mentored by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reduce_heads: fix memory leaks</title>
<updated>2017-11-08T02:34:00Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2017-11-07T20:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4da72644b768b0491110a8ba0aa84d32b6bde41c'/>
<id>urn:sha1:4da72644b768b0491110a8ba0aa84d32b6bde41c</id>
<content type='text'>
We currently have seven callers of `reduce_heads(foo)`. Six of them do
not use the original list `foo` again, and actually, all six of those
end up leaking it.

Introduce and use `reduce_heads_replace(&amp;foo)` as a leak-free version of
`foo = reduce_heads(foo)` to fix several of these. Fix the remaining
leaks using `free_commit_list()`.

While we're here, document `reduce_heads()` and mark it as `extern`.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'po/read-graft-line'</title>
<updated>2017-09-06T04:11:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-09-06T04:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8b36f0b196225fc25588220acf921d011d4bf9a7'/>
<id>urn:sha1:8b36f0b196225fc25588220acf921d011d4bf9a7</id>
<content type='text'>
Conversion from uchar[20] to struct object_id continues; this is to
ensure that we do not assume sizeof(struct object_id) is the same
as the length of SHA-1 hash (or length of longest hash we support).

* po/read-graft-line:
  commit: rewrite read_graft_line
  commit: allocate array using object_id size
  commit: replace the raw buffer with strbuf in read_graft_line
  sha1_file: fix definition of null_sha1
</content>
</entry>
<entry>
<title>Merge branch 'rs/commit-h-single-parent-cleanup'</title>
<updated>2017-08-24T17:20:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-24T17:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=985b2cfc7b71cdaf842832afe3914e25a80dde25'/>
<id>urn:sha1:985b2cfc7b71cdaf842832afe3914e25a80dde25</id>
<content type='text'>
Code clean-up.

* rs/commit-h-single-parent-cleanup:
  commit: remove unused inline function single_parent()
</content>
</entry>
<entry>
<title>commit: remove unused inline function single_parent()</title>
<updated>2017-08-19T16:24:05Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2017-08-19T08:12:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=24da8a26a983eb55279c729f5da63d92b45ee066'/>
<id>urn:sha1:24da8a26a983eb55279c729f5da63d92b45ee066</id>
<content type='text'>
53b2c823f6 (revision walker: mini clean-up) added the function in 2007,
but it was never used, so we should be able to get rid of it now.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit: replace the raw buffer with strbuf in read_graft_line</title>
<updated>2017-08-18T19:18:10Z</updated>
<author>
<name>Patryk Obara</name>
<email>patryk.obara@gmail.com</email>
</author>
<published>2017-08-18T18:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a9340329a7151697c943794369950115963879f'/>
<id>urn:sha1:9a9340329a7151697c943794369950115963879f</id>
<content type='text'>
This simplifies function declaration and allows for use of strbuf_rtrim
instead of modifying buffer directly.

Signed-off-by: Patryk Obara &lt;patryk.obara@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit: convert lookup_commit_graft to struct object_id</title>
<updated>2017-07-13T19:02:40Z</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2017-07-13T00:44:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8b65a34c4a12cdaae7f43f65f760da0f48ad67e3'/>
<id>urn:sha1:8b65a34c4a12cdaae7f43f65f760da0f48ad67e3</id>
<content type='text'>
With this patch, commit.h doesn't contain the string 'sha1' any more.

Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/object-id'</title>
<updated>2017-05-29T03:34:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-05-29T03:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b526ced6fb1808d1b8a9b30010e45dce10a4e7c'/>
<id>urn:sha1:6b526ced6fb1808d1b8a9b30010e45dce10a4e7c</id>
<content type='text'>
Conversion from uchar[20] to struct object_id continues.

* bc/object-id: (53 commits)
  object: convert parse_object* to take struct object_id
  tree: convert parse_tree_indirect to struct object_id
  sequencer: convert do_recursive_merge to struct object_id
  diff-lib: convert do_diff_cache to struct object_id
  builtin/ls-tree: convert to struct object_id
  merge: convert checkout_fast_forward to struct object_id
  sequencer: convert fast_forward_to to struct object_id
  builtin/ls-files: convert overlay_tree_on_cache to object_id
  builtin/read-tree: convert to struct object_id
  sha1_name: convert internals of peel_onion to object_id
  upload-pack: convert remaining parse_object callers to object_id
  revision: convert remaining parse_object callers to object_id
  revision: rename add_pending_sha1 to add_pending_oid
  http-push: convert process_ls_object and descendants to object_id
  refs/files-backend: convert many internals to struct object_id
  refs: convert struct ref_update to use struct object_id
  ref-filter: convert some static functions to struct object_id
  Convert struct ref_array_item to struct object_id
  Convert the verify_pack callback to struct object_id
  Convert lookup_tag to struct object_id
  ...
</content>
</entry>
</feed>
