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