t9500: use test_config to set/unset git config variables
authorYann Droneaud <ydroneaud@opteya.com>
Sun, 24 Mar 2013 21:06:13 +0000 (22:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 15:50:54 +0000 (08:50 -0700)
commit5d76ef25d9fedd46c9409af00953c7e8d31ce2ae
tree8671f1eaaf0442450e93e64ff9bcfa9e49725b3e
parentc63659dd9638d756a07de13230703406a59b81a0
t9500: use test_config to set/unset git config variables

Instead of using construct such as:
    test_when_finished "git config --unset <key>"
    git config <key> <value>
uses
    test_config <key> <value>
The latter takes care of removing <key> at the end of the test.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9500-gitweb-standalone-no-errors.sh