builtin-add: fix command line building to call interactive
authorJunio C Hamano <gitster@pobox.com>
Sun, 25 Nov 2007 18:07:55 +0000 (10:07 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 25 Nov 2007 18:23:10 +0000 (10:23 -0800)
commit324ccbd6a09816af830b22b02bbeb06349141849
tree4a3524f7dc0143c35a5183827d34a517e38214a8
parentf64fe7b48104c0da3fa2b9f3d927a7a7fbb0d8ea
builtin-add: fix command line building to call interactive

The earlier 7c0ab4458994aa895855abc4a504cf693ecc0cf1 (Teach builtin-add
to pass multiple paths to git-add--interactive) did not allocate enough,
and had unneeded (void*) pointer arithmetic.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c