<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jcarr/libgit2/stash.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-05T20:59:36Z</updated>
<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>More callback refactoring (#713)</title>
<updated>2020-12-10T15:19:41Z</updated>
<author>
<name>lhchavez</name>
<email>lhchavez@lhchavez.com</email>
</author>
<published>2020-12-10T15:19:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=10c67474a89c298172a6703b91980ea37c60d5e5'/>
<id>urn:sha1:10c67474a89c298172a6703b91980ea37c60d5e5</id>
<content type='text'>
This change:

* Gets rid of the `.toC()` functions for Options objects, since they
  were redundant with the `populateXxxOptions()`.
* Adds support for `errorTarget` to the `RemoteOptions`, since they are
  used in the same stack for some functions (like `Fetch()`). Now for
  those cases, the error returned by the callback will be preserved
  as-is.</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: Use undeprecated options init (#656)</title>
<updated>2020-10-22T13:18:11Z</updated>
<author>
<name>Suhaib Mujahid</name>
<email>suhaibmujahid@gmail.com</email>
</author>
<published>2020-10-22T13:18:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=5b6ce70b8997254ce48f8c24ba4198080e646fdd'/>
<id>urn:sha1:5b6ce70b8997254ce48f8c24ba4198080e646fdd</id>
<content type='text'>
This PR move form linking against the deprecated `init_options` functions to the renamed `options_init` functions.

For more context see libgit2/libgit2@0b5ba0d744e69da5dc8c08d167c83dd87ed83af2 and libgit2/libgit2@c6184f0c4b209e462bf3f42ab20df2d13d8ee918.</content>
</entry>
<entry>
<title>Adjust to libgit2 changes</title>
<updated>2019-12-10T22:15:32Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2019-12-10T22:15:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=97e6392d3ab67bbf3e3e59b86a0bc9ebf7430e98'/>
<id>urn:sha1:97e6392d3ab67bbf3e3e59b86a0bc9ebf7430e98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Third round of keep-alive aditions</title>
<updated>2017-07-08T14:07:51Z</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>carlosmn@github.com</email>
</author>
<published>2017-07-08T14:07:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=55a1096141519a1f380d0702671cfe9bf90ec435'/>
<id>urn:sha1:55a1096141519a1f380d0702671cfe9bf90ec435</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix error after updating to latest changes</title>
<updated>2016-02-20T12:58:48Z</updated>
<author>
<name>Calin Seciu</name>
<email>calinseciu@gmail.com</email>
</author>
<published>2016-02-20T12:58:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=71ff6ab0d5afb13c555da799ee69b055acd3954c'/>
<id>urn:sha1:71ff6ab0d5afb13c555da799ee69b055acd3954c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove Untrack() from free() function</title>
<updated>2016-02-20T12:44:20Z</updated>
<author>
<name>Calin Seciu</name>
<email>calinseciu@gmail.com</email>
</author>
<published>2016-02-20T12:34:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=dc4409793db0205ce7c0783a10363d7d67aee674'/>
<id>urn:sha1:dc4409793db0205ce7c0783a10363d7d67aee674</id>
<content type='text'>
https://github.com/libgit2/git2go/pull/257#discussion_r53443211
</content>
</entry>
<entry>
<title>Fix problems based on PR comments</title>
<updated>2016-02-20T12:43:46Z</updated>
<author>
<name>Calin Seciu</name>
<email>calinseciu@gmail.com</email>
</author>
<published>2016-02-20T12:33:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/jcarr/libgit2/commit/?id=5191254a66ac049611fb16e4bb5f273aeb2ac322'/>
<id>urn:sha1:5191254a66ac049611fb16e4bb5f273aeb2ac322</id>
<content type='text'>
https://github.com/libgit2/git2go/pull/257#discussion_r53432957
https://github.com/libgit2/git2go/pull/257#discussion_r53443418
</content>
</entry>
</feed>
