Philip Kelley
df93a6810a
Merge the push report into the refs to avoid a 3rd network call
2013-02-08 15:21:37 -05:00
Ben Straub
ea57f66b57
Expect standard error code from internal calls
2013-02-06 11:02:29 -08:00
Ben Straub
def60ea473
Allow all non-zero returns to cancel transfers
2013-02-05 13:14:48 -08:00
Ben Straub
fe95ac1b67
Allow progress callback to cancel fetch
...
This works by having the indexer watch the return
code of the callback, so will only take effect
on object boundaries.
2013-02-05 10:59:58 -08:00
Philip Kelley
47fc264203
Fix gen_pktline format specifier for Win32
2013-01-22 09:25:15 -05:00
Philip Kelley
77844988b8
Fix really bad error handling in git_smart__negotiate_fetch
2013-01-18 14:51:46 -05:00
Edward Thomson
359fc2d241
update copyrights
2013-01-08 17:31:27 -06:00
Maxwell Swadling
79ff264e2f
Fixed size_t format string warning
2013-01-05 11:34:19 +11:00
Congyi Wu
4128f5aa31
Fix bug in gen_pktline() for deletes of missing remote refs
...
* gen_pktline() in smart_protocol.c was skipping refspecs that deleted
refs that were not advertised by the server. The new behavior is to
send a delete command with an old-id of zero, which matches the behavior
of the official git client.
* Update test_network_push__delete() in reaction to above fix.
* Obviate messy logic that handles missing push_spec rrefs by canonicalizing
push_spec. After calculate_work(), loid, roid, and rref, are filled in with
exactly what is sent to the server
2013-01-03 17:19:55 -05:00
Ben Straub
59bccf33c4
Add a payload param to git_cred_acquire_cb
...
Fixes #1128 .
2012-12-10 11:11:01 -08:00
Philip Kelley
6762fe087b
Remove casts of return values of type void *
2012-11-29 08:29:26 -05:00
Philip Kelley
613d5eb939
Push! By schu, phkelley, and congyiwu, et al
2012-11-28 11:42:37 -05:00
Russell Belfer
a8122b5d4a
Fix warnings on Win64 build
2012-11-27 13:18:29 -08:00
Ben Straub
2508cc66eb
Rename ref and reflog apis for consistency
2012-11-27 13:17:45 -08:00
Edward Thomson
09cc0b92dc
create callback to handle packs from fetch, move the indexer to odb_pack
2012-11-05 16:00:29 -06:00
Philip Kelley
438906e160
Fix bytes_received in fetch tests - we weren't calling the callback
2012-11-02 14:34:06 -04:00
Philip Kelley
41fb1ca0ec
Reorganize transport architecture (squashed 3)
2012-11-01 09:02:33 -04:00