diff options
author | Yann Droneaud <ydroneaud@opteya.com> | 2013-03-24 22:06:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-25 08:50:53 -0700 |
commit | ff73aa405fdbaa1073b4ada09ba3c151a255d826 (patch) | |
tree | fe5a2871f5fe3acb0f87bcde0ceb88b43b845dac /Documentation/git-upload-archive.txt | |
parent | t4304: use test_config to set/unset git config variables (diff) | |
download | tgif-ff73aa405fdbaa1073b4ada09ba3c151a255d826.tar.xz |
t4034: use test_config/test_unconfig 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.
Additionally, instead of
git config <key> ""
or
git config --unset <key>
uses
test_unconfig <key>
The latter doesn't failed if <key> is not defined.
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-upload-archive.txt')
0 files changed, 0 insertions, 0 deletions