summaryrefslogtreecommitdiff
path: root/src/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2012-07-21 17:52:51 +0200
committerCarlos Martín Nieto <cmn@elego.de>2012-07-21 18:44:01 +0200
commitb3aaa7a7c887006d38b7262b73575d40f51beca5 (patch)
treef6ab0f132ebf96d598074e11a61922e73e2f4f87 /src/remote.h
parent5d9cfa07ac62ad15ebb669b01e723a990450383e (diff)
downloadlibgit2-b3aaa7a7c887006d38b7262b73575d40f51beca5.tar.gz
Add a struct for network callbacks
Currently only update_tips is used, but it prepares the way for progress output during download.
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h
index 0949ad434..3360b6249 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -19,6 +19,7 @@ struct git_remote {
struct git_refspec push;
git_transport *transport;
git_repository *repo;
+ git_remote_callbacks callbacks;
unsigned int need_pack:1,
check_cert;
};