From: Stefan Sperling Subject: Re: got clone/send/fetch: print full URL To: Omar Polo Cc: gameoftrees@openbsd.org Date: Fri, 18 Nov 2022 11:35:37 +0100 On Fri, Nov 18, 2022 at 11:12:28AM +0100, Omar Polo wrote: > When dealing with multiple repositories on the same remote host > (i.e. web forges) I often confuse or forget to specify the correct > remote name. > > Currently, got shows: > > % got send fork > Connecting to "fork" git@github.com > > % got fetch > Connecting to "origin" git@github.com > > Diff below shows instead: > > % got send fork > Connecting to ssh://git@github.com/omar-polo/picom > > % got fetch > Connecting to ssh://git@github.com/yshui/picom > > > With web forges it's not useful to read only the user@host part > because the path is more important, and while here why don't waste > some chars for the protocol too to make a full URL? > > I've removed the remote name in part to make some room and also > because it's a bit redundant (it's either "origin" or the one > specified in the command line.) > > what do y'all think? I like this.