summaryrefslogtreecommitdiff
path: root/src/diff_output.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_output.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_output.c')
-rw-r--r--src/diff_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_output.c b/src/diff_output.c
index b8bb73bf7..4ce01bc62 100644
--- a/src/diff_output.c
+++ b/src/diff_output.c
@@ -660,7 +660,7 @@ static int diff_patch_load(
*/
if (check_if_unmodified &&
delta->old_file.mode == delta->new_file.mode &&
- !git_oid_cmp(&delta->old_file.oid, &delta->new_file.oid))
+ !git_oid__cmp(&delta->old_file.oid, &delta->new_file.oid))
{
delta->status = GIT_DELTA_UNMODIFIED;
@@ -1388,7 +1388,7 @@ static int diff_single_apply(diff_single_data *data)
(has_old ? GIT_DELTA_MODIFIED : GIT_DELTA_ADDED) :
(has_old ? GIT_DELTA_DELETED : GIT_DELTA_UNTRACKED);
- if (git_oid_cmp(&delta->new_file.oid, &delta->old_file.oid) == 0)
+ if (git_oid__cmp(&delta->new_file.oid, &delta->old_file.oid) == 0)
delta->status = GIT_DELTA_UNMODIFIED;
if ((error = diff_delta_is_binary_by_content(