From 764df57e82c337a70f55e320bf31acb50c6ffacd Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Fri, 15 Jun 2012 13:14:43 -0700 Subject: 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. --- include/git2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/git2.h') diff --git a/include/git2.h b/include/git2.h index f260cfacd..cab517d99 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" -- cgit v1.2.1