t7508: use test_config to set/unset git config variables
authorYann Droneaud <redacted>
Sun, 24 Mar 2013 21:06:11 +0000 (22:06 +0100)
committerJunio C Hamano <redacted>
Mon, 25 Mar 2013 15:50:54 +0000 (08:50 -0700)
commitc63659dd9638d756a07de13230703406a59b81a0
treed9a01c25d41b15073bf044dcf6c3123dfd751fc7
parent22179b307894a6e14f33459b43cd485a03ac4add
t7508: 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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7508-status.sh
git clone https://git.99rst.org/PROJECT