On Thu, May 16, 2013 at 4:58 AM, Ramkumar Ramachandra <artag...@gmail.com> wrote: > Felipe Contreras wrote: >> Why would I do that? When I do 'git rebase' I want to rebase on top of >> 'master', not 'origin/master' (or whatever the upstream of 'master' >> is). > > Ah, so you want @{u} to point to refs/heads/master, but want to modify > fetch to act on the hard-coded "origin", not @{u} (wouldn't you like > to be able to configure this?).
No. What's the point of 'git fetch .'? What does 'git fetch' does when there's no configured upstream branch? Why doesn't 'git fetch' default to 'git fetch .' in those cases? Answer: because 'git fetch .' doesn't make any sense. So if 'branch.HEAD.remote' is '.' it doesn't make sense to do 'git fetch .'. > Seems a bit yuck overall; I wonder if > there's some other way to achieve what you want. Yeah, add 'branch.A.base' that would be used only by 'git rebase', which I already suggested before, but I changed my mind. Fixing 'git fetch' makes much more sense. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html