clone: add tests for --template and some disallowed option pairs
commit349cff76de7fdb3b44c7018474134566a7a4ee19
authorSean Barag <sean@barag.org>
Tue, 29 Sep 2020 03:36:49 +0000 (29 03:36 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Sep 2020 19:36:10 +0000 (29 12:36 -0700)
tree65d2eccd2b05c07db1794caab78a28e84d174141
parent54e85e7af1ac9e9a92888060d6811ae767fea1bc
clone: add tests for --template and some disallowed option pairs

Some combinations of command-line options to `git clone` are invalid,
but there were previously no tests ensuring those combinations reported
errors.  Similarly, `git clone --template` didn't appear to have any
tests.

Helped-by: Jeff King <peff@peff.net>
Helped-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Sean Barag <sean@barag.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5606-clone-options.sh