diff options
author | Yann Droneaud <ydroneaud@opteya.com> | 2013-03-24 22:06:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-25 08:50:53 -0700 |
commit | 8677b777a57e1d843d4aef2d5a12f3cd9ccb7609 (patch) | |
tree | b8468db306bc82208cd1e8fbf0cf1fc8d2e22676 /templates/hooks--commit-msg.sample | |
parent | t5520: use test_config to set/unset git config variables (diff) | |
download | tgif-8677b777a57e1d843d4aef2d5a12f3cd9ccb7609.tar.xz |
t5541: 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>
Diffstat (limited to 'templates/hooks--commit-msg.sample')
0 files changed, 0 insertions, 0 deletions