t5520: use test_config to set/unset git config variables
commit9d6aa64dc32b5f1b87c480eaffb8b4bb9aa10c64
authorYann Droneaud <ydroneaud@opteya.com>
Sun, 24 Mar 2013 21:06:07 +0000 (24 22:06 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 15:50:53 +0000 (25 08:50 -0700)
tree4bcff140c5b8f4858828dd1c9175be111c268499
parent90e76b7029d02314b6f8f8470788874fc44fa621
t5520: 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/t5520-pull.sh