summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-20 16:39:22 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-24 16:09:49 +0200
commitef4d795ec5f8cd39de72cfbc75565236205833a4 (patch)
treeae0681cf9698509c3ff1563d3b329709de2ec162 /include/git2/refs.h
parentfb910281d6598e2c235f6ec93384d4e08838d655 (diff)
downloadlibgit2-ef4d795ec5f8cd39de72cfbc75565236205833a4.tar.gz
refs: drop git_reference_remote_tracking_from_branch()
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index ac876ebb0..8dd8e3116 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -363,27 +363,6 @@ GIT_EXTERN(int) git_reference_foreach_glob(
*/
GIT_EXTERN(int) git_reference_has_log(git_reference *ref);
-
-/**
- * Return the reference supporting the remote tracking branch,
- * given a reference branch.
- *
- * The input reference has to be located in the `refs/heads`
- * namespace.
- *
- * @param tracking_ref Pointer where to store the retrieved
- * reference.
- *
- * @param branch_ref A git local branch reference.
- *
- * @return 0 on success; GIT_ENOTFOUND when no remote tracking
- * reference exists, otherwise an error code.
- */
-GIT_EXTERN(int) git_reference_remote_tracking_from_branch(
- git_reference **tracking_ref,
- git_reference *branch_ref
-);
-
/**
* Check if a reference is a local branch.
*