clone: add tests for --template and some disallowed option pairs
authorSean Barag <redacted>
Tue, 29 Sep 2020 03:36:49 +0000 (03:36 +0000)
committerJunio C Hamano <redacted>
Tue, 29 Sep 2020 19:36:10 +0000 (12:36 -0700)
commit349cff76de7fdb3b44c7018474134566a7a4ee19
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 <redacted>
Helped-by: Derrick Stolee <redacted>
Signed-off-by: Sean Barag <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5606-clone-options.sh
git clone https://git.99rst.org/PROJECT