Sean Whitton writes ("Bug#914398: git-branchmove: does not respect insteadOf, 
pushInsteadOf git configuration keys"):
> On Thu 22 Nov 2018 at 09:39PM -07, Sean Whitton wrote:
> > git-branchmove ignores the git configuration keys insteadOf and
> > pushInsteadOf.
> 
> Beginnings of a fix (untested):

Hi.  I'm not sure why are are treating these two cases so differently.
The purpose the case statement is solely to try to avoid calling "git
config" on things which are not remote names.

But in both cases we want pushInsteadOf if there is one, I think ?
(Ie, even for the source branch and even when it's not a configured
remote.)  Is that possible DYK ?

Hrm.  I tried git-ls-remote and it doesn't seem to have a --push.  And
git-remote doesn't work on things that aren't configured remotes.

Is that what you meant by "Beginnings of" ?

Regards,
Ian.

Reply via email to