]> git.ipfire.org Git - thirdparty/git.git/commit
remote: drop checks for zero-url case
authorJeff King <peff@peff.net>
Fri, 14 Jun 2024 10:42:03 +0000 (06:42 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jun 2024 16:34:39 +0000 (09:34 -0700)
commitaecd794fca275b42e271b80236e95f0d288bd709
tree109cc0ab15551b45c7a98780c9d0b1da8db99572
parentffce821880408768be21e08a02fecd686e780d01
remote: drop checks for zero-url case

Now that the previous commit removed the possibility that a "struct
remote" will ever have zero url fields, we can drop a number of
redundant checks and untriggerable code paths.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/archive.c
builtin/ls-remote.c
builtin/push.c
builtin/remote.c
t/helper/test-bundle-uri.c
transport.c