Carlos Martín Nieto
f13b40445e
Remote: reorg push
2014-05-09 23:32:09 +02:00
Carlos Martín Nieto
84ce8645de
Remote: specify the refspecs and callbacks in Fetch
...
The Remote interface mixes the configuration of a remote with overriding
the configuration for a paritcular operation. This makes the remotes
trickier to use than they should be.
Move towards letting the user specify the refspecs and callbacks they
want for a particular Fetch() operation intsead of setting it for a
Remote object that they then need to throw away.
2014-05-09 22:51:58 +02:00
Carlos Martín Nieto
dca2192492
Merge pull request #81 from jezell/remote-set-callbacks
...
add remote functions to set callbacks / set cert check
2014-04-26 20:22:44 +02:00
Carlos Martín Nieto
b3a160b0f8
Adjust to libgit2 dev changes
...
This fixes #87
2014-04-26 18:43:22 +02:00
Jesse Ezell
7cf6b4f082
add set callbacks / set cert check
2014-04-04 09:51:46 -07:00
Carlos Martín Nieto
9cd1d129bc
Remote: The whole point of the anonymous change
...
Was that it would break and we'd remember that the order changed. Oh
well.
2014-04-01 20:10:20 +02:00
Jesse Ezell
9d0d814f19
rename inmemory to anonymous remote
2014-04-01 11:06:47 -07:00
Jesse Ezell
5d8db7f936
return nil instead of empty array on error
2014-03-20 20:32:23 -07:00
Jesse Ezell
99d7f66477
add remote list
2014-03-20 20:32:15 -07:00
Carlos Martín Nieto
574f0dd12d
Remote: remove Get prefix from refspecs
...
Idiomatic Go is to omit the Get from the getter methods.
2014-03-20 03:29:54 +01:00
Carlos Martín Nieto
ad128bdefb
Remote: don't mix allocators
...
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-19 08:15:18 +01:00
Jesse Ezell
51aa76d6f7
remove strarray wrappers
2014-03-11 16:25:22 -07:00
Jesse Ezell
d560b9e9bd
cleanup clone code
2014-03-11 13:19:12 -07:00
Jesse Ezell
9fb7a746e0
fix handling of msg to treat empty str as nil
2014-02-28 10:58:53 -08:00
Jesse Ezell
374e2112df
add push, refine remotes
2014-02-27 16:36:44 -08:00
Jesse Ezell
e2db9b16cd
merge latest, cleanup error handling, add thread locks
2014-02-26 10:41:20 -08:00
Jason Toffaletti
32bf5f0a23
wip wrapping git_remote
2014-01-06 20:05:35 +00:00
Jason Toffaletti
d124544668
minor
2014-01-06 16:55:29 +00:00
Jason Toffaletti
5d8a14d108
wrappers for git_cred, git_transfer_progress. don't call nil callbacks.
2014-01-05 20:55:32 +00:00
Jason Toffaletti
e825d66fba
work in progress wrapping git_clone
2014-01-04 00:40:21 +00:00