summaryrefslogtreecommitdiff
path: root/include/git2/revparse.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-04-09 05:03:51 +0400
committerBen Straub <bs@github.com>2013-04-09 05:07:04 +0400
commit1aa21fe3b87a1e601023f49c41fab3ce76c189ac (patch)
treeb25c258e7d360cb9dd7d278094ff12b490a0e61e /include/git2/revparse.h
parent8480eef7ee0c8e52a8bf3ea12e5626009a966164 (diff)
downloadlibgit2-1aa21fe3b87a1e601023f49c41fab3ce76c189ac.tar.gz
Deprecate git_revparse_single and _rangelike
Diffstat (limited to 'include/git2/revparse.h')
-rw-r--r--include/git2/revparse.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/git2/revparse.h b/include/git2/revparse.h
index 9315b66eb..7fe910b45 100644
--- a/include/git2/revparse.h
+++ b/include/git2/revparse.h
@@ -20,31 +20,6 @@
*/
GIT_BEGIN_DECL
-/**
- * Find an object, as specified by a revision string. See `man gitrevisions`, or the documentation
- * for `git rev-parse` for information on the syntax accepted.
- *
- * @param out pointer to output object
- * @param repo the repository to search in
- * @param spec the textual specification for an object
- * @return 0 on success, GIT_ENOTFOUND, GIT_EAMBIGUOUS,
- * GIT_EINVALIDSPEC or an error code
- */
-GIT_EXTERN(int) git_revparse_single(git_object **out, git_repository *repo, const char *spec);
-
-/**
- * Parse a string with the form of a revision range, as accepted by
- * `git rev-list`, `git diff`, and others.
- *
- * @param left (output) the left-hand commit
- * @param right (output) the right-hand commit
- * @param threedots (output) 0 if the endpoints are separated by two dots, 1 if by three
- * @param repo the repository to find the commits in
- * @param rangelike the rangelike string to be parsed
- * @return 0 on success, or any error `git_revparse_single` can return
- */
-GIT_EXTERN(int) git_revparse_rangelike(git_object **left, git_object **right, int *threedots, git_repository *repo, const char *rangelike);
-
/**
* Revparse flags. These indicate the intended behavior of the spec passed to