|
a8df98c6
|
2012-06-14T18:57:24
|
|
Updates from comments on OS4 compatibility pull request http://github.com/libgit2/libgit2/pull/766
|
|
41cbbea8
|
2012-06-09T23:03:27
|
|
Let platform 'Generic' get the regex deps so we don't need to use our external ones
|
|
5c0fd7b9
|
2012-06-09T13:20:07
|
|
allow disabling pthreads for testing
|
|
bb502fa8
|
2012-06-09T12:52:49
|
|
Fix makefile
|
|
7eeec8f2
|
2012-05-24T16:41:53
|
|
examples/network: consistently use tabs for indentation
|
|
e172cf08
|
2012-05-18T01:21:06
|
|
errors: Rename the generic return codes
|
|
41178b41
|
2012-05-11T21:49:33
|
|
examples: fix an oopsie
|
|
fb49bdf9
|
2012-05-10T16:52:12
|
|
examples: update network examples error handling
Use giterr_last() and make sure it's not NULL.
|
|
baaa8a44
|
2012-05-03T20:25:56
|
|
remotes: change git_remote_new's signature
Add a fetch refspec arguemnt and make the arguments (name, url,
refspec), as that order makes more sense.
|
|
42ea35c0
|
2012-05-01T22:25:43
|
|
remote: don't free transport on disconnect
Currently, git_remote_disconnect not only closes the connection but also
frees the underlying transport object, making it impossible to write
code like
// fetch stuff
git_remote_download()
// close connection
git_remote_disconnect()
// call user provided callback for each ref
git_remote_update_tips(remote, callback)
because remote->refs points to references owned by the transport object.
This means, we have an idling connection while running the callback for
each reference.
Instead, allow immediate disconnect and free the transport later in
git_remote_free().
|
|
f184836b
|
2012-04-25T12:13:20
|
|
remote: run a callback when updating the branch tips
This allows the caller to update an internal structure or update the
user output with the tips that were updated.
While in the area, only try to update the ref if the value is
different from its old one.
|
|
bf4ef0c5
|
2012-04-16T05:02:41
|
|
examples: run fetch in a background thread
This allows us to give updates on how it's doing
|
|
db0f96a6
|
2012-04-13T23:37:55
|
|
examples: port 'fetch' to the new API
|
|
907ebe85
|
2012-04-13T10:29:27
|
|
examples: stream indexer example
|
|
fc1cc205
|
2012-03-26T11:36:12
|
|
Use new error handling in the example network code
|
|
d88d4311
|
2011-11-28T08:40:40
|
|
remote: Cleanup the remotes code
- Hide the remaining transports code
- Drop `git_headarray`, switch to using a callback to list refs. Makes
the code cleaner.
|
|
0b142c9c
|
2011-11-06T20:07:27
|
|
examples/network/.gitignore: ignore 'git2'
|
|
349532d0
|
2011-11-06T19:44:29
|
|
examples/network/git2.c: exit with proper status, and avoid segfault
This function should exit after printing usage information if too few
arguments were specified.
Additionally, it should exit with a failure status if the first argument
supplied is not one in the internal command list.
|
|
983562e4
|
2011-11-06T19:43:44
|
|
examples/network/git2.c: add newline to usage message
|
|
faeebd06
|
2011-11-06T19:35:35
|
|
examples/network/fetch.c: revert overzealous conversion of free to git__free
Since git__free is not exported (it's actually a macro), it should not be
used in client programs. Change this call to 'git__free' back to 'free'.
|
|
3286c408
|
2011-10-28T14:51:13
|
|
global: Properly use `git__` memory wrappers
Ensure that all memory related functions (malloc, calloc, strdup, free,
etc) are using their respective `git__` wrappers.
|
|
24012627
|
2011-10-03T00:33:13
|
|
examples: add ls-remote, fetch and index-pack examples
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
|