Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitview.txt: improve asciidoc markup
[gitweb.git]
/
unpack-trees.c
diff --git
a/unpack-trees.c
b/unpack-trees.c
index 43ed12484f6eb8bb828987872b2782182e579b9f..467d9940f5a2e9cd8a880e4c8f0f1d2a8a5f7aa1 100644
(file)
--- a/
unpack-trees.c
+++ b/
unpack-trees.c
@@
-417,7
+417,7
@@
static int same(struct cache_entry *a, struct cache_entry *b)
if (!a && !b)
return 1;
return a->ce_mode == b->ce_mode &&
-
!memcmp(a->sha1, b->sha1, 20
);
+
!hashcmp(a->sha1, b->sha1
);
}