summaryrefslogtreecommitdiff
path: root/src/revparse.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-04-15 11:42:34 -0700
committerBen Straub <bs@github.com>2013-04-15 11:42:34 -0700
commit4291ad078128003ad6d4ac6fb58244f3343ad87a (patch)
tree639ec6492b4333a211898d06594b3cd94619b69a /src/revparse.c
parentec7e240ba4a3277a94def51005d2558d02cb8c3c (diff)
downloadlibgit2-4291ad078128003ad6d4ac6fb58244f3343ad87a.tar.gz
Reintroduce git_revparse_single.
Diffstat (limited to 'src/revparse.c')
-rw-r--r--src/revparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revparse.c b/src/revparse.c
index 7842c49b7..5f591406e 100644
--- a/src/revparse.c
+++ b/src/revparse.c
@@ -722,7 +722,7 @@ static int ensure_left_hand_identifier_is_not_known_yet(git_object *object, git_
return GIT_EINVALIDSPEC;
}
-static int git_revparse_single(git_object **out, git_repository *repo, const char *spec)
+int git_revparse_single(git_object **out, git_repository *repo, const char *spec)
{
size_t pos = 0, identifier_len = 0;
int error = -1, n;