Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: make ignore_non_trailer take buf/len
[gitweb.git]
/
builtin
/
mktree.c
diff --git
a/builtin/mktree.c
b/builtin/mktree.c
index 4282b62c595edd987a87eb23ba679079211e0835..de9b40fc63b0a4f76401a111aba806c64ce36ee9 100644
(file)
--- a/
builtin/mktree.c
+++ b/
builtin/mktree.c
@@
-46,7
+46,7
@@
static void write_tree(unsigned char *sha1)
size_t size;
int i;
-
qsort(entries, used, sizeof(*entries)
, ent_compare);
+
QSORT(entries, used
, ent_compare);
for (size = i = 0; i < used; i++)
size += 32 + entries[i]->len;