<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/include/git2/blob.h, branch cmn/error-buffer</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>blob: don't recomment using git_buf_grow</title>
<updated>2015-06-24T21:49:10+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-23T13:21:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=bd470d0034e7b9217e4084a71d63dec64d2bfcd8'/>
<id>bd470d0034e7b9217e4084a71d63dec64d2bfcd8</id>
<content type='text'>
We currently recommend using `git_buf_grow` in order to make a buffer
make an owned copy of the memory it points to. This is not behaviour we
should encourage, so remove this recommendation.

The function itself is not changed, as we need to remain compatible, but
it will be changed not to allow usage on borrowed buffers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We currently recommend using `git_buf_grow` in order to make a buffer
make an owned copy of the memory it points to. This is not behaviour we
should encourage, so remove this recommendation.

The function itself is not changed, as we need to remain compatible, but
it will be changed not to allow usage on borrowed buffers.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Blob] Update documentation for is_binary.</title>
<updated>2014-05-28T19:57:21+00:00</updated>
<author>
<name>Ungureanu Marius</name>
<email>teromario@yahoo.com</email>
</author>
<published>2014-05-28T19:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fda73bc5fd9f118c661e963f5c50f5c87df2364c'/>
<id>fda73bc5fd9f118c661e963f5c50f5c87df2364c</id>
<content type='text'>
filter.h tells me that we check the first 8000 bytes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
filter.h tells me that we check the first 8000 bytes.</pre>
</div>
</content>
</entry>
<entry>
<title>Const correctness!</title>
<updated>2014-04-03T14:06:31+00:00</updated>
<author>
<name>Jacques Germishuys</name>
<email>jacquesg@striata.com</email>
</author>
<published>2014-04-03T13:50:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=3b4ba2787049c561cd7a9e3fea8fc16e473a0b32'/>
<id>3b4ba2787049c561cd7a9e3fea8fc16e473a0b32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some missing oid to id renames</title>
<updated>2014-01-30T17:59:59+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2014-01-28T19:44:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=5572d2b8a1668f3c2f35ec91d3f864f28f8ef987'/>
<id>5572d2b8a1668f3c2f35ec91d3f864f28f8ef987</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle git_buf's from users more liberally</title>
<updated>2014-01-08T18:08:23+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@microsoft.com</email>
</author>
<published>2014-01-08T18:07:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=6adcaab70cdd6ced307a71945a1f80833ec9670f'/>
<id>6adcaab70cdd6ced307a71945a1f80833ec9670f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update git_blob_create_fromchunks callback behavr</title>
<updated>2013-12-11T18:57:50+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-12-10T21:01:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=19853bdd97e006b6e4519bc352c3e8fd7586e9c3'/>
<id>19853bdd97e006b6e4519bc352c3e8fd7586e9c3</id>
<content type='text'>
The callback to supply data chunks could return a negative value
to stop creation of the blob, but we were neither using GIT_EUSER
nor propagating the return value.  This makes things use the new
behavior of returning the negative value back to the user.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The callback to supply data chunks could return a negative value
to stop creation of the blob, but we were neither using GIT_EUSER
nor propagating the return value.  This makes things use the new
behavior of returning the negative value back to the user.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git_buf and git_buffer</title>
<updated>2013-09-17T16:31:45+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-09-12T05:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a9f51e430fef49b3299ec33c11a4e6623e3f58cc'/>
<id>a9f51e430fef49b3299ec33c11a4e6623e3f58cc</id>
<content type='text'>
This makes the git_buf struct that was used internally into an
externally available structure and eliminates the git_buffer.

As part of that, some of the special cases that arose with the
externally used git_buffer were blended into the git_buf, such as
being careful about git_buf objects that may have a NULL ptr and
allowing for bufs with a valid ptr and size but zero asize as a
way of referring to externally owned data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the git_buf struct that was used internally into an
externally available structure and eliminates the git_buffer.

As part of that, some of the special cases that arose with the
externally used git_buffer were blended into the git_buf, such as
being careful about git_buf objects that may have a NULL ptr and
allowing for bufs with a valid ptr and size but zero asize as a
way of referring to externally owned data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Start of filter API + git_blob_filtered_content</title>
<updated>2013-09-17T16:30:06+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-08-27T06:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=0cf77103b218ad3622aff34f3296db1bdd5f0df9'/>
<id>0cf77103b218ad3622aff34f3296db1bdd5f0df9</id>
<content type='text'>
This begins the process of exposing git_filter objects to the
public API.  This includes:

* new public type and API for `git_buffer` through which an
  allocated buffer can be passed to the user
* new API `git_blob_filtered_content`
* make the git_filter type and GIT_FILTER_TO_... constants public
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This begins the process of exposing git_filter objects to the
public API.  This includes:

* new public type and API for `git_buffer` through which an
  allocated buffer can be passed to the user
* new API `git_blob_filtered_content`
* make the git_filter type and GIT_FILTER_TO_... constants public
</pre>
</div>
</content>
</entry>
<entry>
<title>Standardize cast versions of git_object accessors</title>
<updated>2013-04-29T21:22:06+00:00</updated>
<author>
<name>Russell Belfer</name>
<email>rb@github.com</email>
</author>
<published>2013-04-29T21:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=d77611022c4a43d5e67cf52ce2bc2b11ee5bcdc0'/>
<id>d77611022c4a43d5e67cf52ce2bc2b11ee5bcdc0</id>
<content type='text'>
This removes the GIT_INLINE versions of the simple git_object
accessors and standardizes them with a helper macro in src/object.h
to build the function bodies.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the GIT_INLINE versions of the simple git_object
accessors and standardizes them with a helper macro in src/object.h
to build the function bodies.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove GIT_SUCCESS from documentation</title>
<updated>2013-03-24T11:34:00+00:00</updated>
<author>
<name>Miquel Canes Gonzalez</name>
<email>miquelcanes@gmail.com</email>
</author>
<published>2013-03-24T11:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=c2186230f3d439c192380cbcd425ea6824d94939'/>
<id>c2186230f3d439c192380cbcd425ea6824d94939</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
