summaryrefslogtreecommitdiff
path: root/contrib/diff-highlight
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2015-09-05 14:12:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-08 10:35:01 -0700
commit5fafc07fca933be10c82ba97a6fd3b28d6b3a02e (patch)
tree28f4fdadf956efa8543b89ecb3356971b2a342c8 /contrib/diff-highlight
parentt5801: don't use test_when_finished in a subshell (diff)
downloadtgif-5fafc07fca933be10c82ba97a6fd3b28d6b3a02e.tar.xz
test-lib-functions: support "test_config -C <dir> ..."
If used in a subshell, test_config cannot unset variables at the end of a test. This is a problem when testing submodules because we do not want to "cd" at to top level of a test script in order to run the command inside the submodule. Add a "-C" option to test_config (and test_unconfig) so that test_config can be kept outside subshells and still affect subrepositories. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/diff-highlight')
0 files changed, 0 insertions, 0 deletions