diff options
author | Ben Straub <bstraub@github.com> | 2012-06-16 00:14:43 +0400 |
---|---|---|
committer | Ben Straub <bstraub@github.com> | 2012-06-21 20:53:44 +0400 |
commit | 764df57e82c337a70f55e320bf31acb50c6ffacd (patch) | |
tree | 8d8deca8f9c6a4d8fe67e2ab715725e8da34c5af /include/git2.h | |
parent | 9311423c34bbd369928152c6a2b669204276ddd1 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
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" |