remote: add get-url subcommand
commit96f78d39989d1fcf393d7bc42357467dd8cf0f15
authorBen Boeckel <mathstuf@gmail.com>
Wed, 16 Sep 2015 01:53:47 +0000 (15 21:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Sep 2015 19:19:57 +0000 (17 12:19 -0700)
tree26b63f72be694fca1c150a48000565d51dede0f8
parenta17c56c056d5fea0843b429132904c429a900229
remote: add get-url subcommand

Expanding `insteadOf` is a part of ls-remote --url and there is no way
to expand `pushInsteadOf` as well. Add a get-url subcommand to be able
to query both as well as a way to get all configured urls.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin/remote.c
t/t5505-remote.sh