remote-curl: remove spurious period
[gitweb.git] / commit.c
index ba6dee37aa36cc7141649deda6407012cd0f2724..aada266f9a85e379ab2d2603b82071be4bb19ded 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -931,7 +931,7 @@ static int remove_redundant(struct commit **array, int cnt)
        }
 
        /* Now collect the result */
-       memcpy(work, array, sizeof(*array) * cnt);
+       COPY_ARRAY(work, array, cnt);
        for (i = filled = 0; i < cnt; i++)
                if (!redundant[i])
                        array[filled++] = work[i];