2 * Copyright (C) 2009-2012 the libgit2 contributors
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_fetch_h__
8 #define INCLUDE_fetch_h__
12 int git_fetch_negotiate(git_remote
*remote
);
14 int git_fetch_download_pack(
16 git_transfer_progress_callback progress_cb
,
17 void *progress_payload
);
19 int git_fetch__download_pack(
22 git_transfer_progress
*stats
,
23 git_transfer_progress_callback progress_cb
,
24 void *progress_payload
);
26 int git_fetch_setup_walk(git_revwalk
**out
, git_repository
*repo
);