Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: convert struct diff_filespec to struct object_id
[gitweb.git]
/
diffcore-break.c
diff --git
a/diffcore-break.c
b/diffcore-break.c
index 5473493e10551633659d0727626ffc2273ef4f73..a3e796089ffad89a6f17074f4fe8848f7a13275e 100644
(file)
--- a/
diffcore-break.c
+++ b/
diffcore-break.c
@@
-58,7
+58,7
@@
static int should_break(struct diff_filespec *src,
}
if (src->sha1_valid && dst->sha1_valid &&
- !
hashcmp(src->sha1, dst->sha1
))
+ !
oidcmp(&src->oid, &dst->oid
))
return 0; /* they are the same */
if (diff_populate_filespec(src, 0) || diff_populate_filespec(dst, 0))