<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2/deprecated.h, branch ethomson/objectformat</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>sha256: make sha256 an experimental optional feature</title>
<updated>2022-06-20T21:12:49+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2022-06-15T02:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=6c57bac6b18f6a30e1a8c8272a8dc367f202aa88'/>
<id>6c57bac6b18f6a30e1a8c8272a8dc367f202aa88</id>
<content type='text'>
libgit2 can be built with optional, experimental sha256 support. This
allows consumers to begin testing and providing feedback for our sha256
support while we continue to develop it, and allows us to make API
breaking changes while we iterate on a final sha256 implementation.

The results will be `git2-experimental.dll` and installed as
`git2-experimental.h` to avoid confusion with a production libgit2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libgit2 can be built with optional, experimental sha256 support. This
allows consumers to begin testing and providing feedback for our sha256
support while we continue to develop it, and allows us to make API
breaking changes while we iterate on a final sha256 implementation.

The results will be `git2-experimental.dll` and installed as
`git2-experimental.h` to avoid confusion with a production libgit2.
</pre>
</div>
</content>
</entry>
<entry>
<title>sha: GIT_ERROR_SHA1 is deprecated in favor of GIT_ERROR_SHA</title>
<updated>2022-03-23T12:39:19+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-12-12T19:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=36df49c26d93f4d5cc14db48a40316b29945bcd4'/>
<id>36df49c26d93f4d5cc14db48a40316b29945bcd4</id>
<content type='text'>
The more generic GIT_ERROR_SHA allows for SHA256 errors as well as SHA1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The more generic GIT_ERROR_SHA allows for SHA256 errors as well as SHA1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make enum in includes C90 compliant by removing trailing comma.</title>
<updated>2021-11-15T15:45:40+00:00</updated>
<author>
<name>Peter Pettersson</name>
<email>boretrk@hotmail.com</email>
</author>
<published>2021-10-02T22:12:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=38c3449822162e7b7669c1cc7ca778afccb59406'/>
<id>38c3449822162e7b7669c1cc7ca778afccb59406</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>oidarray: introduce `git_oidarray_dispose`</title>
<updated>2021-09-26T22:02:07+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-26T21:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=0bd132ab829f41971355537ecc4f9d24f953ccec'/>
<id>0bd132ab829f41971355537ecc4f9d24f953ccec</id>
<content type='text'>
Since users are disposing the _contents_ of the oidarray, not freeing
the oidarray itself, the proper cleanup function is
`git_oidarray_dispose`.  Deprecate `git_oidarray_free`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since users are disposing the _contents_ of the oidarray, not freeing
the oidarray itself, the proper cleanup function is
`git_oidarray_dispose`.  Deprecate `git_oidarray_free`.
</pre>
</div>
</content>
</entry>
<entry>
<title>diff: deprecate diff_format_email</title>
<updated>2021-09-18T12:32:42+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-09-13T20:25:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ba3595af0f3f788427868abb0b499da9f82dc9d1'/>
<id>ba3595af0f3f788427868abb0b499da9f82dc9d1</id>
<content type='text'>
`git_diff_format_email` is deprecated in favor of `git_email_create`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`git_diff_format_email` is deprecated in favor of `git_email_create`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #6017 from libgit2/ethomson/buf_is_readonly</title>
<updated>2021-08-30T02:54:01+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-08-30T02:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=969a056cc5b03d49c336a4e58c290efc052e79fb'/>
<id>969a056cc5b03d49c336a4e58c290efc052e79fb</id>
<content type='text'>
buf: deprecate public git_buf writing functions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
buf: deprecate public git_buf writing functions</pre>
</div>
</content>
</entry>
<entry>
<title>buf: deprecate public git_buf writing functions</title>
<updated>2021-08-29T17:13:03+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-08-29T17:10:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=d2316d574694a1943499553c535fa3830c198380'/>
<id>d2316d574694a1943499553c535fa3830c198380</id>
<content type='text'>
A `git_buf` is now a read-only structure as far as callers are
concerned.  This is a mechanism that we can return data to callers
using memory that is owned by the library and can be cleaned up by
callers (using `git_buf_dispose`).

A `git_buf` can no longer be allocated by callers or provided to the
library.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A `git_buf` is now a read-only structure as far as callers are
concerned.  This is a mechanism that we can return data to callers
using memory that is owned by the library and can be cleaned up by
callers (using `git_buf_dispose`).

A `git_buf` can no longer be allocated by callers or provided to the
library.
</pre>
</div>
</content>
</entry>
<entry>
<title>rebase: deprecate signing_cb</title>
<updated>2021-08-29T14:16:56+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-08-29T14:14:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ef03e15038824c8951eede2f17ad9dafbd5a32d3'/>
<id>ef03e15038824c8951eede2f17ad9dafbd5a32d3</id>
<content type='text'>
The signing callback should not be used; instead, callers should provide
a commit_create_cb, perform the signing and commit creation themselves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The signing callback should not be used; instead, callers should provide
a commit_create_cb, perform the signing and commit creation themselves.
</pre>
</div>
</content>
</entry>
<entry>
<title>filter: deprecate git_filter_list_apply_to_data</title>
<updated>2021-05-06T15:31:54+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-05-06T14:37:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=68b9605acc31d7cba3da322820b484c8db2e0a1e'/>
<id>68b9605acc31d7cba3da322820b484c8db2e0a1e</id>
<content type='text'>
Deprecate `git_filter_list_apply_to_data` as it takes user input as a
`git_buf`.  Users should use `git_filter_list_apply_to_buffer` instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate `git_filter_list_apply_to_data` as it takes user input as a
`git_buf`.  Users should use `git_filter_list_apply_to_buffer` instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>filter: deprecate git_filter_list_stream_data</title>
<updated>2021-05-06T14:06:41+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-05-06T01:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=9869f1e5a30e735d3958c1fed3f6b0979d7f80de'/>
<id>9869f1e5a30e735d3958c1fed3f6b0979d7f80de</id>
<content type='text'>
`git_filter_list_stream_data` takes user input in a `git_buf`.
`git_buf` should only be used when libgit2 itself needs to allocate data
and returned to a user that they can free when they wish.  Replace it
with `git_filter_list_stream_buffer` that takes a data buffer and
length.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`git_filter_list_stream_data` takes user input in a `git_buf`.
`git_buf` should only be used when libgit2 itself needs to allocate data
and returned to a user that they can free when they wish.  Replace it
with `git_filter_list_stream_buffer` that takes a data buffer and
length.
</pre>
</div>
</content>
</entry>
</feed>
