diff options
author | Yann Droneaud <ydroneaud@opteya.com> | 2013-03-24 22:06:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-25 08:50:53 -0700 |
commit | aac6c2f4bcea6bd371ef8b25edb991673a14d5b3 (patch) | |
tree | 0535dc3cc28a8b7275a639871dc0602196d731bd /t/t0070-fundamental.sh | |
parent | t3400: use test_config to set/unset git config variables (diff) | |
download | tgif-aac6c2f4bcea6bd371ef8b25edb991673a14d5b3.tar.xz |
t4304: 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.
Tests are modified to assume correct (default) configuration at entry,
and to reset the modified configuration variables at the end.
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0070-fundamental.sh')
0 files changed, 0 insertions, 0 deletions