wt-status: use argv_array for environment
commit85dd6bf4911dc6d08857c234fe3c135abeed2c44
authorRené Scharfe <l.s.r@web.de>
Sun, 29 Jun 2014 20:47:00 +0000 (29 22:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2014 06:41:02 +0000 (29 23:41 -0700)
tree6d012dbc614920a51ea20d6b3bc2b072ba290410
parent341e7e8eda3dbeb6867f4f8f45b671201b807de5
wt-status: use argv_array for environment

Instead of using a PATH_MAX buffer, use argv_array for constructing the
environment for git submodule summary.  This simplifies the code a bit
and removes the arbitrary length limit.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wt-status.c