Commit Graph

14 Commits

Author SHA1 Message Date
Tarrant Rollins 548bb9b5e9 Add Go functions for git_config_find_* functions
ConfigFindGlobal -> git_config_find_global
ConfigFindSystem -> git_config_find_system
ConfigFindXDG    -> git_config_find_xdg
2015-01-14 13:38:35 -08:00
Carlos Martín Nieto a9d993f3d1 Remove useless includes 2014-12-11 02:59:07 +01:00
Carlos Martín Nieto 8c631b0c25 Add missing thread locking 2014-12-06 02:45:26 +01:00
David Calavera 5c72fe54b8 Remove Config#Refresh
Because it has been removed from libgit2:
55cb499972
2014-10-24 17:22:46 -07:00
Carlos Martín Nieto 00ea11691b Convert the rest of the errors 2014-02-26 16:14:31 +01:00
Jesper Hansen 499f52a354 Added git error code to the error object. 2014-02-26 16:10:00 +01:00
Carlos Martín Nieto fc0a2f56e8 Lock the thread so we can get the error message 2014-02-26 10:37:02 +01:00
Carlos Martín Nieto af2446b1da Add iterators and ConfigEntry 2014-02-26 10:37:01 +01:00
Carlos Martín Nieto 129105d410 Add a few more missing config functions 2014-02-26 10:36:35 +01:00
Carlos Martín Nieto fbd8698002 Add a few missing config setters and getters 2014-02-26 10:30:15 +01:00
Carlos Martín Nieto a40bdfd420 Lock the OS thread when acessing errors
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-12-18 16:18:32 +01:00
Artiom Di 5e30c192e9 Fix memleak for Config and parent commit objects 2013-11-14 15:24:43 +02:00
Carlos Martín Nieto a5ad8de506 Don't repeat the pkg-config line
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-11-14 00:23:04 +01:00
Vicent Marti b1d50b70ea Initial commit 2013-03-05 20:53:04 +01:00