summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Yann Droneaud <ydroneaud@opteya.com>2013-03-24 22:06:04 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-25 08:50:53 -0700
commitaac6c2f4bcea6bd371ef8b25edb991673a14d5b3 (patch)
tree0535dc3cc28a8b7275a639871dc0602196d731bd /cache-tree.c
parentt3400: use test_config to set/unset git config variables (diff)
downloadtgif-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 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions