Re: [RFC] [PATCH] remote: add new --fetch option for set-url
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 19, 2014, 21:00 UTC
- Message-ID
- <xmqqwq6qrjmi.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1588976.dNB1P7S71u@al>
Peter Wu <peter@lekensteyn.nl> writes:
Show 13 quoted lines
> On Wednesday 19 November 2014 12:29:47 Junio C Hamano wrote: > ... >> Yes, the semantics the updated code gives feel very strange. I >> wouldn't be able to write a three-line summary in the release notes >> to advertise what good this new feature brings to users myself. > > What about: > > "git remote set-url" learned a new "--fetch" option which can be > used to change the fetch URL while leaving the push URL intact. > Useful to keep a ssh URL for push and change the fetch URL to https. > > which is effectively the functionality I am using it for.
I do not think that clarifies the confusion-factor Peff has been pointing out in this thread, unfortunately. At least not to me.