Hi, I've noticed that having branch.<branch>.merge set with the branch name, and not with the full ref, cause problems with --format='%(upstream)' and also with the "branch -av" and "git status" upstream branch outputs. But git-fetch and git-pull works ok, so it is a valid setting. $ git clone git.git $ cd git $ git config branch.master.merge refs/heads/master $ git for-each-ref --format='%(upstream)' refs/heads/master refs/remotes/origin/master $ git config branch.master.merge master $ git config branch.master.merge master $ git for-each-ref --format='%(upstream)' refs/heads/master $ Best regards, Santi -- 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