Junio C Hamano <junkio@xxxxxxx> writes: > Luben Tuikov <ltuikov@xxxxxxxxx> writes: > >> Can we please eliminate this message: >> Warning: No merge candidate found because value of config option >> "branch.master.merge" does not match any remote branch fetched. > > The above message was meant only for "git pull", but was leaked > even when you did "git fetch"; it was a bug and was corrected > already (hopefully). Gaah... it turns out that it was not fixed properly. Let's do this until we figure out what the correct fix would be. diff --git a/git-parse-remote.sh b/git-parse-remote.sh index ea7511e..871c08f 100755 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -141,8 +141,7 @@ canon_refs_list_for_fetch () { curr_branch=$(git-symbolic-ref HEAD | \ sed -e 's|^refs/heads/||') merge_branches=$(git-repo-config \ - --get-all "branch.${curr_branch}.merge") || - merge_branches=.this.would.never.match.any.ref. + --get-all "branch.${curr_branch}.merge") fi set x $(expand_refs_wildcard "$@") shift - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html