remote: add tests for add and rename with invalid names
authorSean Barag <redacted>
Thu, 1 Oct 2020 03:46:12 +0000 (03:46 +0000)
committerJunio C Hamano <redacted>
Thu, 1 Oct 2020 05:09:13 +0000 (22:09 -0700)
commit444825c7c1148c0a38708238467c33ba370c58b2
treea6522dae3a19b78ee84d907df854b61e06003cf7
parent552955ed7fcbc3706f2d6192487df2fb8f3283c8
remote: add tests for add and rename with invalid names

In preparation for a future patch that moves `builtin/remote.c`'s
remote-name validation, ensure `git remote add` and `git remote rename`
report errors when the new name isn't valid.

Signed-off-by: Sean Barag <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5505-remote.sh
git clone https://git.99rst.org/PROJECT