summaryrefslogtreecommitdiff
path: root/include/git2/revparse.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-04-15 23:40:46 +0200
committerVicent Marti <tanoku@gmail.com>2013-04-15 23:40:46 +0200
commitcbda09d00bb2aa703f90251b231c74d7acc6d21c (patch)
tree1d2de3612ef3ac970575b96b59200c3725e6a44d /include/git2/revparse.h
parent36c2dfed696f80a20ca1352f32ec8b136b800c30 (diff)
downloadlibgit2-cbda09d00bb2aa703f90251b231c74d7acc6d21c.tar.gz
git_revision -> git_revspec
Diffstat (limited to 'include/git2/revparse.h')
-rw-r--r--include/git2/revparse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/revparse.h b/include/git2/revparse.h
index 3e334b4bb..c0479c353 100644
--- a/include/git2/revparse.h
+++ b/include/git2/revparse.h
@@ -53,7 +53,7 @@ typedef struct {
git_object *from;
git_object *to;
unsigned int flags;
-} git_revision;
+} git_revspec;
/**
* Parse a revision string for left, right, and intent. See `man gitrevisions` or
@@ -72,7 +72,7 @@ typedef struct {
* @return 0 on success, GIT_INVALIDSPEC, GIT_ENOTFOUND, GIT_EAMBIGUOUS or an error code
*/
GIT_EXTERN(int) git_revparse(
- git_revision *revision,
+ git_revspec *revspec,
git_repository *repo,
const char *spec);