summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorEtienne Samson <tiennou7@gmail.com>2013-07-15 16:31:25 +0200
committerEtienne Samson <tiennou7@gmail.com>2013-07-15 16:31:25 +0200
commit85e1eded6a5302b25c339988a6828aa45fbc23d8 (patch)
treea04457bef95b6d316774706090214e221a63681c /include/git2/remote.h
parent351733128ca766d1fe73ca0f299b08725342574a (diff)
downloadlibgit2-85e1eded6a5302b25c339988a6828aa45fbc23d8.tar.gz
Add `git_remote_owner`
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 45d15d0a3..13b04367c 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -96,6 +96,14 @@ GIT_EXTERN(int) git_remote_load(git_remote **out, git_repository *repo, const ch
GIT_EXTERN(int) git_remote_save(const git_remote *remote);
/**
+ * Get the remote's repository
+ *
+ * @param remote the remote
+ * @return a pointer to the repository
+ */
+GIT_EXTERN(git_repository *) git_remote_owner(const git_remote *remote);
+
+/**
* Get the remote's name
*
* @param remote the remote