summaryrefslogtreecommitdiff
path: root/config.go
AgeCommit message (Collapse)Author
2021-09-05Make all non-user-creatable structures non-comparable (#802)lhchavez
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.
2021-04-03add wrapper for git_config_open_default (#758)Vladimir Buzuev
2018-12-25Remove unused parameter in OpenOndiskpraveen
2018-08-08Remove uses of deprecated git_buf_freeCarlos Martín Nieto
2018-01-17Bump libgit2 to f1323d9cCarlos Martín Nieto
2017-07-08First round of mass keep-alive additionsCarlos Martín Nieto
2016-02-15Merge remote-tracking branch 'upstream/master' into nextCarlos Martín Nieto
2015-10-26Update libgit2 to 821131fCalin Seciu
The API changes are: - `*Remote.Connect` ```go // from: func (o *Remote) Connect(direction ConnectDirection, callbacks *RemoteCallbacks) error // to: func (o *Remote) Connect(direction ConnectDirection, callbacks *RemoteCallbacks, headers []string) error ``` - `*Remote.ConnectFetch` - `headers` was added as above - `*Remote.ConnectPush` - `headers` was added as above
2015-10-08Config#LookupString uses git_buf to load valueDavid Pierce
2015-01-14Add Go functions for git_config_find_* functionsTarrant Rollins
ConfigFindGlobal -> git_config_find_global ConfigFindSystem -> git_config_find_system ConfigFindXDG -> git_config_find_xdg
2014-12-11Remove useless includesCarlos Martín Nieto
2014-12-06Add missing thread lockingCarlos Martín Nieto
2014-10-24Remove Config#RefreshDavid Calavera
Because it has been removed from libgit2: https://github.com/libgit2/libgit2/commit/55cb4999720f46eddb97e25e7ddc6ac068dd0bae
2014-02-26Convert the rest of the errorsCarlos Martín Nieto
2014-02-26Added git error code to the error object.Jesper Hansen
2014-02-26Lock the thread so we can get the error messageCarlos Martín Nieto
2014-02-26Add iterators and ConfigEntryCarlos Martín Nieto
2014-02-26Add a few more missing config functionsCarlos Martín Nieto
2014-02-26Add a few missing config setters and gettersCarlos Martín Nieto
2013-12-18Lock the OS thread when acessing errorsCarlos Martín Nieto
The library stores error information in thread-local storage, which means we need to make sure that the Go runtime doesn't switch OS threads between the time we call a function and th time we attempt to retrieve the error information.
2013-11-14Fix memleak for Config and parent commit objectsArtiom Di
2013-11-14Don't repeat the pkg-config lineCarlos Martín Nieto
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
2013-03-05Initial commitVicent Marti