Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-30 00:52:12 +0400
committerRussell Belfer <rb@github.com>2013-04-30 00:52:12 +0400
commitb7f167da29effa125663b143d3daf79a6ad88d2e (patch)
tree585355250e7078c7018a78c68539dc139912013b /src/clone.c
parentaa8f010120577e61715f3ae1286a03055815f9c3 (diff)
Make git_oid_cmp public and add git_oid__cmp
Diffstat (limited to 'src/clone.c')
-rw-r--r--src/clone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clone.c b/src/clone.c
index 0665576e3..aeb7bbf5c 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -132,14 +132,14 @@ static int reference_matches_remote_head(
return 0;
}
- if (git_oid_cmp(&head_info->remote_head_oid, &oid) == 0) {
+ if (git_oid__cmp(&head_info->remote_head_oid, &oid) == 0) {
/* Determine the local reference name from the remote tracking one */
if (git_refspec_transform_l(
- &head_info->branchname,
+ &head_info->branchname,
head_info->refspec,
reference_name) < 0)
return -1;
-
+
if (git_buf_len(&head_info->branchname) > 0) {
if (git_buf_sets(
&head_info->branchname,