sequencer: update reading author-script
commita2a20b0d5c97580497da37814c8b62114ce25f81
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Jan 2017 15:35:25 +0000 (2 16:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 22:05:42 +0000 (17 14:05 -0800)
tree50953f3b08e8bd58be960b56293efd1f6600b309
parentac191470c7dba893388f4038851d68fea2094cea
sequencer: update reading author-script

Rather than abusing a strbuf to come up with an environment block,
let's just use the argv_array structure which serves the same
purpose much better.

While at it, rename the function to reflect the fact that it does
not really care exactly what environment variables are defined in
said file.

Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
t/t3404-rebase-interactive.sh