run_hook: use argv_array API
authorJeff King <peff@peff.net>
Tue, 13 Sep 2011 21:58:25 +0000 (17:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Sep 2011 18:57:33 +0000 (11:57 -0700)
commit5d40a179855a39ae9e8ac22e1874720f2b98a91c
tree3934a9c5d0b704695018083ed468845ec57adaf3
parent7bf0b01750e975f8a4df925ac75efa7f984bf393
run_hook: use argv_array API

This was a pretty straightforward use, so it really doesn't
save that many lines. Still, perhaps it's a little bit more
readable.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c