On Sat, Nov 13, 2010 at 1:09 PM, Martin von Zweigbergk
They are not equivalent, the last line (echo $(git for-each-ref...))
is always executed, not only when ask for the default remote. When
$origin != $default the last line does not return the correct answer.
It should return nothing, it is not well defined. Or maybe it should
return the branch pointed by $origin/HEAD (I cannot test right now
what 'git pull $remote-not-the-default' merges).
And it has nothing to do with letting 'pull --rebase . for" work.
For the rest I think they are OK, and make sense.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html