summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-03-07 18:58:34 +0100
committerVicent Marti <tanoku@gmail.com>2013-03-07 18:58:34 +0100
commit33abaad809669d33f2e9ea7eeb473ec43b8257ce (patch)
tree07c42645ad63fb93a812d866c23c568920a2c9db /include/git2/refs.h
parentcdaef180cef70e0687731e9b8beb5caee0351595 (diff)
downloadlibgit2-33abaad809669d33f2e9ea7eeb473ec43b8257ce.tar.gz
refs: Dude, you're OUT.
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index 2373bee77..e0451ba82 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -320,24 +320,6 @@ GIT_EXTERN(int) git_reference_foreach(
void *payload);
/**
- * Reload a reference from disk.
- *
- * Reference pointers can become outdated if the Git repository is
- * accessed simultaneously by other clients while the library is open.
- *
- * This method forces a reload of the reference from disk, to ensure that
- * the provided information is still reliable.
- *
- * If the reload fails (e.g. the reference no longer exists on disk, or
- * has become corrupted), an error code will be returned and the reference
- * pointer will be invalidated and freed.
- *
- * @param ref The reference to reload
- * @return 0 on success, or an error code
- */
-GIT_EXTERN(int) git_reference_reload(git_reference *ref);
-
-/**
* Free the given reference.
*
* @param ref git_reference