Thread (1 message) 1 message, 1 author, 2016-08-11

Re: [PATCH 2/3] git-fetch: do not use "*" for fetching multiple refs

From: Junio C Hamano <hidden>
Date: 2016-08-11 19:37:21

Jakub Narebski [off-list ref] writes:
3.) The one with shell-like (fnmatch / glob) globbing
      Pull: refs/heads/*:refs/remotes/origin/*

By the way, with globbing we really need some other way than
first Pull: line to select remote head to merge on "git pull".
For example "Merge:" line / remote.<name>.merge config var.
Why?

        URL: some-where
        Pull: refs/heads/master:refs/remotes/origin/master
        Pull: refs/heads/*:refs/remotes/origin/*

works just fine.

But we should encourage people to use config to define default
merge source per-branch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help