]> git.proxmox.com Git - libgit2.git/commit
fetch: use the streaming indexer when downloading a pack
authorCarlos Martín Nieto <carlos@cmartin.tk>
Fri, 13 Apr 2012 21:19:38 +0000 (23:19 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 25 Apr 2012 10:39:11 +0000 (12:39 +0200)
commit7a520f5d8af2aedd5693bf7314527d76d9af2ef4
treebcd87f54398650e3355e0bc34d23bbad0486c358
parentf9f2344bd4ba6c81a96959509ba59f8563b60265
fetch: use the streaming indexer when downloading a pack

This changes the git_remote_download() API, but the existing one is
silly, so you don't get to complain.

The new API allows to know how much data has been downloaded, how many
objects we expect in total and how many we've processed.
include/git2/remote.h
src/fetch.c
src/fetch.h
src/remote.c
src/transport.h
src/transports/git.c
src/transports/http.c