]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7408-submodule-reference.sh
t7408: merge short tests, factor out testing method
authorStefan Beller <sbeller@google.com>
Thu, 11 Aug 2016 23:13:59 +0000 (16:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2016 22:00:16 +0000 (15:00 -0700)
commit9292536eb40294507544b963538e738637f70e26
tree9b218644e9ac108faa3d79fcc2966fee47f9b9ca
parent83dec7338a2409c89f6697e2e1d0b4306d72f3e8
t7408: merge short tests, factor out testing method

Tests consisting of one line each can be consolidated to have fewer tests
to run as well as fewer lines of code.

When having just a few git commands, do not create a new shell but
use the -C flag in Git to execute in the correct directory.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7408-submodule-reference.sh