summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorVictor Garcia <victor@tuenti.com>2013-11-07 14:16:20 +0100
committerVictor Garcia <victor@tuenti.com>2013-11-07 14:16:20 +0100
commit0fe522d1057aef064084a22d116f7c225948a3bd (patch)
tree1fe257f593d9d5c2f220897eabd5a3660bba47bd /include/git2/remote.h
parente87d9d3d4d8de9c048476387931c4ac57d1c2b73 (diff)
downloadlibgit2-0fe522d1057aef064084a22d116f7c225948a3bd.tar.gz
allowing create remote with custom fetch spec
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index b9cf86ef1..07102594e 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -40,7 +40,8 @@ GIT_EXTERN(int) git_remote_create(
git_remote **out,
git_repository *repo,
const char *name,
- const char *url);
+ const char *url,
+ const char *fetch);
/**
* Create a remote in memory