summaryrefslogtreecommitdiff
path: root/remote.go
AgeCommit message (Collapse)Author
2014-12-13Update to masterCarlos Martín Nieto
This deprecates the Push struct in favour of Remote.Push()
2014-12-06Add the newer missing thread-locking instancesCarlos Martín Nieto
2014-12-06Add missing thread lockingCarlos Martín Nieto
2014-12-06Merge pull request #140 from AaronO/patch-1Carlos Martín Nieto
Add wrapper for git_remote_delete : Repository.DeleteRemote
2014-12-03Update to masterCarlos Martín Nieto
2014-11-26Add (*Repository).DeleteRemoteAaron O'Mullan
2014-10-28Make the constants have typesCarlos Martín Nieto
While Go will assign the correct type to a const block when it auto-creates the values, assigning makes the const be typeless and will only gain it in each particular use. Make each constant in the blocks have an assigned type.
2014-10-27Hide C.git_direction type.David Calavera
2014-10-27Make filtering logic more simple.David Calavera
2014-10-27Add connect methods to Remote.David Calavera
2014-10-24Add Remote#Ls.David Calavera
Allow filtering heads by name.
2014-10-19remote: use the library's certificate validity if no callback is setCarlos Martín Nieto
We should not return 0, as in this case that means we let it through, return an appropriate error instead.
2014-10-15Fix header nameCarlos Martín Nieto
It turns out that some systems have a strings.h which includes string.h, which does not happen on GNU systems.
2014-10-15Add support for hostkey certificatesCarlos Martín Nieto
While they're not exactly certificates, they belong in the same category.
2014-10-15Merge branch 'fetchhead'Carlos Martín Nieto
Conflicts: remote.go
2014-10-15add plumbing for update fetch head on remotesJess Sheneberger
2014-10-15Update to libgit2 masterCarlos Martín Nieto
The option to ignore the server's certificate has been removed, replaced witha callback for the user to perform their own checking. Remote.Fetch() now performs opportunistic updates and takes a list of refspecs to use as the active set for a particular fetch.
2014-04-26Merge pull request #81 from jezell/remote-set-callbacksCarlos Martín Nieto
add remote functions to set callbacks / set cert check
2014-04-26Adjust to libgit2 dev changesCarlos Martín Nieto
This fixes #87
2014-04-04add set callbacks / set cert checkJesse Ezell
2014-04-01Remote: The whole point of the anonymous changeCarlos Martín Nieto
Was that it would break and we'd remember that the order changed. Oh well.
2014-04-01rename inmemory to anonymous remoteJesse Ezell
2014-03-20return nil instead of empty array on errorJesse Ezell
2014-03-20add remote listJesse Ezell
2014-03-20Remote: remove Get prefix from refspecsCarlos Martín Nieto
Idiomatic Go is to omit the Get from the getter methods.
2014-03-19Remote: don't mix allocatorsCarlos Martín Nieto
We cannot ask libgit2 to free the memory we have allocated ourselves, as it cannot know how to do it. Let's free the strarray ourselves.
2014-03-11remove strarray wrappersJesse Ezell
2014-03-11cleanup clone codeJesse Ezell
2014-02-28fix handling of msg to treat empty str as nilJesse Ezell
2014-02-27add push, refine remotesJesse Ezell
2014-02-26merge latest, cleanup error handling, add thread locksJesse Ezell
2014-01-06wip wrapping git_remoteJason Toffaletti
2014-01-06minorJason Toffaletti
2014-01-05wrappers for git_cred, git_transfer_progress. don't call nil callbacks.Jason Toffaletti
2014-01-04work in progress wrapping git_cloneJason Toffaletti