Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Changed fast-import's pack header creation to use pack.h
[gitweb.git]
/
merge-tree.c
diff --git
a/merge-tree.c
b/merge-tree.c
index 7cf00be6d51b17ca60979a9c856e67405906d9a7..c2e9a867edb5b843150cd3df47583f49f15314cb 100644
(file)
--- a/
merge-tree.c
+++ b/
merge-tree.c
@@
-152,7
+152,7
@@
static int same_entry(struct name_entry *a, struct name_entry *b)
{
return a->sha1 &&
b->sha1 &&
- !
memcmp(a->sha1, b->sha1, 20
) &&
+ !
hashcmp(a->sha1, b->sha1
) &&
a->mode == b->mode;
}