<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2/deprecated.h, branch ethomson/find_executable</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>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>
<entry>
<title>tree: deprecate `git_treebuilder_write_with_buffer`</title>
<updated>2021-03-04T09:30:21+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-02-28T00:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=7eb21516ad9a1bd8e7e7b16198e0a4eda299e87d'/>
<id>7eb21516ad9a1bd8e7e7b16198e0a4eda299e87d</id>
<content type='text'>
The function `git_treebuilder_write_with_buffer` is unnecessary; it
is used internally as part of treebuilder writing, but it has little
use to external callers.  For callers that repeatedly write a
treebuilder, we can supply them with a buffer in the treebuilder struct
instead of recreating it.  For ourselves, when we want a single buffer
in our write loop, we can use an internal function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function `git_treebuilder_write_with_buffer` is unnecessary; it
is used internally as part of treebuilder writing, but it has little
use to external callers.  For callers that repeatedly write a
treebuilder, we can supply them with a buffer in the treebuilder struct
instead of recreating it.  For ourselves, when we want a single buffer
in our write loop, we can use an internal function.
</pre>
</div>
</content>
</entry>
<entry>
<title>revspec: rename git_revparse_mode_t to git_revspec_t</title>
<updated>2021-01-31T16:36:31+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2021-01-31T00:36:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=4732e03056b1b88fdeb3276d96dfd9400d75233a'/>
<id>4732e03056b1b88fdeb3276d96dfd9400d75233a</id>
<content type='text'>
The information about the type of a revision spec is not information
about the parser.  Name it accordingly, so that `git_revparse_mode_t`
is now `git_revspec_t`.  Deprecate the old name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The information about the type of a revision spec is not information
about the parser.  Name it accordingly, so that `git_revparse_mode_t`
is now `git_revspec_t`.  Deprecate the old name.
</pre>
</div>
</content>
</entry>
</feed>
