summaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-04-30 04:02:52 -0700
committerVicent Martí <vicent@github.com>2013-04-30 04:02:52 -0700
commitcd2ed9f0cc9d8e0e1724304e946adb28271e0669 (patch)
treecdf9e1dade9f0d6e0317735ac2d40d81ff074c16 /src/diff.c
parentd76fb20ebce03b2fd87c2472d556bf9b64894efd (diff)
parent203d5b0e6829242ea412bbef7751e3c522ac5dd8 (diff)
downloadlibgit2-cd2ed9f0cc9d8e0e1724304e946adb28271e0669.tar.gz
Merge pull request #1518 from arrbee/export-oid-comparison
Remove most inlines from the public API
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/diff.c b/src/diff.c
index 881173cde..6612abf06 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -196,21 +196,21 @@ static git_diff_delta *diff_delta__last_for_item(
switch (delta->status) {
case GIT_DELTA_UNMODIFIED:
case GIT_DELTA_DELETED:
- if (git_oid_cmp(&delta->old_file.oid, &item->oid) == 0)
+ if (git_oid__cmp(&delta->old_file.oid, &item->oid) == 0)
return delta;
break;
case GIT_DELTA_ADDED:
- if (git_oid_cmp(&delta->new_file.oid, &item->oid) == 0)
+ if (git_oid__cmp(&delta->new_file.oid, &item->oid) == 0)
return delta;
break;
case GIT_DELTA_UNTRACKED:
if (diff->strcomp(delta->new_file.path, item->path) == 0 &&
- git_oid_cmp(&delta->new_file.oid, &item->oid) == 0)
+ git_oid__cmp(&delta->new_file.oid, &item->oid) == 0)
return delta;
break;
case GIT_DELTA_MODIFIED:
- if (git_oid_cmp(&delta->old_file.oid, &item->oid) == 0 ||
- git_oid_cmp(&delta->new_file.oid, &item->oid) == 0)
+ if (git_oid__cmp(&delta->old_file.oid, &item->oid) == 0 ||
+ git_oid__cmp(&delta->new_file.oid, &item->oid) == 0)
return delta;
break;
default: