Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git_dir holds pointers to local strings, hence MUST be const.
[gitweb.git]
/
combine-diff.c
diff --git
a/combine-diff.c
b/combine-diff.c
index ce063b4ffa48eb1db8849d5aabb6732fc98946b6..0682acd50d618e4ba8319372c46c72b3e479b8e6 100644
(file)
--- a/
combine-diff.c
+++ b/
combine-diff.c
@@
-688,8
+688,8
@@
static void show_patch_diff(struct combine_diff_path *elem, int num_parent,
for (i = 0; i < num_parent; i++) {
int j;
for (j = 0; j < i; j++) {
- if (!
mem
cmp(elem->parent[i].sha1,
-
elem->parent[j].sha1, 20
)) {
+ if (!
hash
cmp(elem->parent[i].sha1,
+
elem->parent[j].sha1
)) {
reuse_combine_diff(sline, cnt, i, j);
break;
}