perf/run: update get_var_from_env_or_config() for subsections
commit9ba95ed23cec1787d1fc2d42ef48137987807ca8
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 23 Sep 2017 19:55:56 +0000 (23 19:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 Sep 2017 07:58:34 +0000 (24 16:58 +0900)
tree1c942ce53ce414ef18e8aaf0d896935bb96ce6c2
parent2638441e075ffcb6467e754f085a6d285bc9cced
perf/run: update get_var_from_env_or_config() for subsections

As we will set some config options in subsections, let's
teach get_var_from_env_or_config() to get the config options
from the subsections if they are set there.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/run