<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jcarr/libgit2/index.go, branch v0.1.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://cgit.wit.com/jcarr/libgit2/atom?h=v0.1.5</id>
<link rel='self' href='http://cgit.wit.com/jcarr/libgit2/atom?h=v0.1.5'/>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/'/>
<updated>2021-09-06T01:52:01Z</updated>
<entry>
<title>The big Callback type adjustment of 2020</title>
<updated>2021-09-06T01:52:01Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-02T03:11:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=5def02a589a2c1653f4bb515fdec290361a222be'/>
<id>urn:sha1:5def02a589a2c1653f4bb515fdec290361a222be</id>
<content type='text'>
This change makes all callbacks that can fail return an `error`. This
makes things a lot more idiomatic.
</content>
</entry>
<entry>
<title>Make all non-user-creatable structures non-comparable (#802)</title>
<updated>2021-09-05T20:59:36Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2021-09-05T20:59:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=dbe032c347b1a1308a4b880e7c5a06d8dfb4d507'/>
<id>urn:sha1:dbe032c347b1a1308a4b880e7c5a06d8dfb4d507</id>
<content type='text'>
This change makes all non-user-creatable structures non-comparable. This
makes it easier to add changes later that don't introduce breaking
changes from the go compatibility guarantees perspective.

This, of course, implies that this change _is_ a breaking change, but since
these structures are not intended to be created by users (or de-referenced),
it should be okay.</content>
</entry>
<entry>
<title>Make index time fields public (#750)</title>
<updated>2021-02-15T15:37:55Z</updated>
<author>
<name>michael boulton</name>
<email>61595820+mbfr@users.noreply.github.com</email>
</author>
<published>2021-02-15T15:37:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=aeb22bcf7dd6b3b8f75363a20790b84ea4d5de9f'/>
<id>urn:sha1:aeb22bcf7dd6b3b8f75363a20790b84ea4d5de9f</id>
<content type='text'>
From gorelease:
```
Compatible changes:
- IndexTime.Nanoseconds: added
- IndexTime.Seconds: added
```
There are no extra tests because there isn't really anything to test

closes #304</content>
</entry>
<entry>
<title>Refactor all callbacks (#700)</title>
<updated>2020-12-05T21:13:59Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-05T21:13:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=5d8eaf7e65c404a0d10d3705697dd99369630dda'/>
<id>urn:sha1:5d8eaf7e65c404a0d10d3705697dd99369630dda</id>
<content type='text'>
This change is a preparation for another change that makes all callback
types return a Go error instead of an error code / an integer. That is
going to make make things a lot more idiomatic.

The reason this change is split is threefold:

a) This change is mostly mechanical and should contain no semantic
   changes.
b) This change is backwards-compatible (in the Go API compatibility
   sense of the word), and thus can be backported to all other releases.
c) It makes the other change a bit smaller and more focused on just one
   thing.

Concretely, this change makes all callbacks populate a Go error when
they fail. If the callback is invoked from the same stack as the
function to which it was passed (e.g. for `Tree.Walk`), it will preserve
the error object directly into a struct that also holds the callback
function. Otherwise if the callback is pased to one func and will be
invoked when run from another one (e.g. for `Repository.InitRebase`),
the error string is saved into the libgit2 thread-local storage and then
re-created as a `GitError`.</content>
</entry>
<entry>
<title>Mark some symbols to be deprecated #minor (#698)</title>
<updated>2020-12-05T15:23:44Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-05T15:23:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=137c05e802d5e11a5ab54809bc8be8f61ccece21'/>
<id>urn:sha1:137c05e802d5e11a5ab54809bc8be8f61ccece21</id>
<content type='text'>
This change introduces the file deprecated.go, which contains any
constants, functions, and types that are slated to be deprecated in the
next major release.

These symbols are deprecated because they refer to old spellings in
pre-1.0 libgit2. This also makes the build be done with the
`-DDEPRECATE_HARD` flag to avoid regressions.

This, together with
[gorelease](https://godoc.org/golang.org/x/exp/cmd/gorelease)[1] should
make releases safer going forward.

1: More information about how that works at
   https://go.googlesource.com/exp/+/refs/heads/master/apidiff/README.md</content>
</entry>
<entry>
<title>refactor: Rename methods with Get prefix</title>
<updated>2020-05-10T03:32:17Z</updated>
<author>
<name>Suhaib Mujahid</name>
<email>suhaibmujahid@gmail.com</email>
</author>
<published>2020-05-10T03:32:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=cf6522c7fe093244a14334ced1c90c9791231a3e'/>
<id>urn:sha1:cf6522c7fe093244a14334ced1c90c9791231a3e</id>
<content type='text'>
It is not Go idiomatic to put Get into the getter's name.

https: //golang.org/doc/effective_go.html#Getters
Co-Authored-By: lhchavez &lt;lhchavez@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Update the method name</title>
<updated>2020-02-23T14:38:10Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-02-23T14:38:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=00374b39aad728f34eeadbb575ac607acbfa205a'/>
<id>urn:sha1:00374b39aad728f34eeadbb575ac607acbfa205a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/master' into git_index_add_frombuffer</title>
<updated>2020-02-23T13:53:17Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-02-23T13:53:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=c20008416a64e2ae884a14332b258160a261a5df'/>
<id>urn:sha1:c20008416a64e2ae884a14332b258160a261a5df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add index.Clear() to clear the index object</title>
<updated>2018-10-25T22:52:43Z</updated>
<author>
<name>Melvin</name>
<email>Nivl@users.noreply.github.com</email>
</author>
<published>2018-10-25T22:13:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=dd973b99ad050eae73c3cc3deac162e797c6f530'/>
<id>urn:sha1:dd973b99ad050eae73c3cc3deac162e797c6f530</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add binding for `git_index_add_frombuffer`</title>
<updated>2017-07-17T14:05:03Z</updated>
<author>
<name>Vadzim Ramanenka</name>
<email>vadromanenko@gmail.com</email>
</author>
<published>2017-07-17T10:12:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=79fe156d307a9c7b294aa92c741dc0c2759a1894'/>
<id>urn:sha1:79fe156d307a9c7b294aa92c741dc0c2759a1894</id>
<content type='text'>
</content>
</entry>
</feed>
