summaryrefslogtreecommitdiff
path: root/include/git2.h
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-06-15 13:14:43 -0700
committerBen Straub <bstraub@github.com>2012-06-21 09:53:44 -0700
commit764df57e82c337a70f55e320bf31acb50c6ffacd (patch)
tree8d8deca8f9c6a4d8fe67e2ab715725e8da34c5af /include/git2.h
parent9311423c34bbd369928152c6a2b669204276ddd1 (diff)
downloadlibgit2-764df57e82c337a70f55e320bf31acb50c6ffacd.tar.gz
Add git_clone and git_clone_bare.
So far they only create a repo, setup the "origin" remote, and fetch. The API probably needs work as well; there's no way to get progress information at this point. Also uncovered a shortcoming; git_remote_download doesn't fetch over local transport.
Diffstat (limited to 'include/git2.h')
-rw-r--r--include/git2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2.h b/include/git2.h
index f260cfac..cab517d9 100644
--- a/include/git2.h
+++ b/include/git2.h
@@ -37,6 +37,7 @@
#include "git2/index.h"
#include "git2/config.h"
#include "git2/remote.h"
+#include "git2/clone.h"
#include "git2/refspec.h"
#include "git2/net.h"