Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] pull: refuse complete src:dst fetchspec arguments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:36

Jeff King [off-list ref] writes:
Yeah, I think you are right. It _should_ be variable, but right now it
varies on something totally unrelated to what you want (how you invoked,
and not what type of repo setup you are using). So I agree a patch to
make it more consistent across fetch+merge versus pull would be good,
and then we can make a configuration option to choose one or the other.
I have been looong wondering why I somehow thught that I saw a patch that makes

    $ git merge origin/topic

pretend as if you did

    $ git pull origin topic

when you have this mapping

    [remote "origin"]
        fetch = refs/heads/*:refs/remotes/origin/*

in your configuration file, since it is a very obvious thing to do...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help