diff options
author | Ben Straub <bstraub@github.com> | 2012-06-06 13:04:08 -0700 |
---|---|---|
committer | Ben Straub <bstraub@github.com> | 2012-06-06 13:04:08 -0700 |
commit | 1a728066c3b307a71c04f746bb6f322dacd50938 (patch) | |
tree | e2cc0c42ae765e524f7f04dadecb6f01c7db344b | |
parent | d6391a626f0bac4880adda74528e3d6f5054c571 (diff) | |
download | libgit2-1a728066c3b307a71c04f746bb6f322dacd50938.tar.gz |
Remove 'git__' prefix from a static function.
-rw-r--r-- | src/revparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revparse.c b/src/revparse.c index 8775b80ee..102e27a1f 100644 --- a/src/revparse.c +++ b/src/revparse.c @@ -577,7 +577,7 @@ static int handle_colon_syntax(git_object **out, return git_object_lookup(out, repo, &oid, GIT_OBJ_ANY); } -static int git__revparse_global_grep(git_object **out, git_repository *repo, const char *pattern) +static int revparse_global_grep(git_object **out, git_repository *repo, const char *pattern) { git_revwalk *walk; int retcode = GIT_ERROR; @@ -632,7 +632,7 @@ int git_revparse_single(git_object **out, git_repository *repo, const char *spec if (spec[0] == ':') { if (spec[1] == '/') { - return git__revparse_global_grep(out, repo, spec+2); + return revparse_global_grep(out, repo, spec+2); } /* TODO: support merge-stage path lookup (":2:Makefile"). */ giterr_set(GITERR_INVALID, "Unimplemented"); |