summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-29 13:52:12 -0700
committerRussell Belfer <rb@github.com>2013-04-29 13:52:12 -0700
commitb7f167da29effa125663b143d3daf79a6ad88d2e (patch)
tree585355250e7078c7018a78c68539dc139912013b /src/remote.c
parentaa8f010120577e61715f3ae1286a03055815f9c3 (diff)
downloadlibgit2-b7f167da29effa125663b143d3daf79a6ad88d2e.tar.gz
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index ffce2b6e2..306bc7356 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -845,7 +845,7 @@ static int update_tips_for_spec(git_remote *remote, git_refspec *spec, git_vecto
if (error == GIT_ENOTFOUND)
memset(&old, 0, GIT_OID_RAWSZ);
- if (!git_oid_cmp(&old, &head->oid))
+ if (!git_oid__cmp(&old, &head->oid))
continue;
/* In autotag mode, don't overwrite any locally-existing tags */