]> git.proxmox.com Git - libgit2.git/commit - src/clone.c
Allow progress callback to cancel fetch
authorBen Straub <bs@github.com>
Tue, 5 Feb 2013 18:59:58 +0000 (10:59 -0800)
committerBen Straub <bs@github.com>
Tue, 5 Feb 2013 18:59:58 +0000 (10:59 -0800)
commitfe95ac1b6750a29d4a132d265ec1d050f49b69e8
treed0cf8be4771619b04ab414f8320f3a9c6600bd21
parentde81aee3907e3737ad87e88e14b702f4b3bf12a6
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.
examples/network/clone.c
include/git2/indexer.h
src/clone.c
src/indexer.c
src/transports/smart_protocol.c
tests-clar/network/fetchlocal.c
tests-clar/online/clone.c
tests-clar/online/fetch.c