summaryrefslogtreecommitdiff
path: root/fmt-merge-msg.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-03-20 19:14:33 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-21 14:11:11 -0700
commit221bf985063737240124fe15c328cd125e9d048e (patch)
treedda8ea5eb3b7418e5903cfc58954e121f6e4d6aa /fmt-merge-msg.h
parentt/test-lib: drop redundant unset of GIT_CONFIG (diff)
downloadtgif-221bf985063737240124fe15c328cd125e9d048e.tar.xz
t: drop useless sane_unset GIT_* calls
Several test scripts manually unset GIT_CONFIG and other GIT_* variables. These are generally taken care of for us by test-lib.sh already. Unsetting these is not only useless, but can be confusing to a reader, who may wonder why some tests in a script unset them and others do not (t0001 is particularly guilty of this inconsistency, probably because many of its tests predate the test-lib.sh environment-cleansing). Note that we cannot always get rid of such unsetting. For example, t9130 can drop the GIT_CONFIG unset, but not the GIT_DIR one, because lib-git-svn.sh sets the latter. And in t1000, we unset GIT_TEMPLATE_DIR, which is explicitly initialized by test-lib.sh. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fmt-merge-msg.h')
0 files changed, 0 insertions, 0 deletions