Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7502: rename commit test script to comply with naming convention
[gitweb.git]
/
xdiff-interface.c
diff --git
a/xdiff-interface.c
b/xdiff-interface.c
index ec6e574e4aa07414b9a17bb99ddee26fd44497de..e7af95db8654a88359b9abd31bc018fb1cb66b5f 100644
(file)
--- a/
xdiff-interface.c
+++ b/
xdiff-interface.c
@@
-186,7
+186,7
@@
void read_mmblob(mmfile_t *ptr, const struct object_id *oid)
unsigned long size;
enum object_type type;
- if (
!oidcmp
(oid, &null_oid)) {
+ if (
oideq
(oid, &null_oid)) {
ptr->ptr = xstrdup("");
ptr->size = 0;
return;