summaryrefslogtreecommitdiff
path: root/src/diff_output.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/diff_output.c
parentaa8f010120577e61715f3ae1286a03055815f9c3 (diff)
downloadlibgit2-b7f167da29effa125663b143d3daf79a6ad88d2e.tar.gz
Make git_oid_cmp public and add git_oid__cmp
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(