Re: [PATCH] Use reflog in 'pull --rebase . foo'

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Santi Béjar
Date: Saturday, November 13, 2010 - 10:20 am

On Sat, Nov 13, 2010 at 1:09 PM, Martin von Zweigbergk
<martin.von.zweigbergk@gmail.com> wrote:

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.

HTH,
Santi
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Use reflog in 'pull --rebase . foo', Martin von Zweigbergk, (Fri Nov 12, 12:38 pm)
Re: [PATCH] Use reflog in 'pull --rebase . foo', Andreas Schwab, (Sat Nov 13, 1:58 am)
Re: [PATCH] Use reflog in 'pull --rebase . foo', Martin von Zweigbergk, (Sat Nov 13, 5:09 am)
Re: [PATCH] Use reflog in 'pull --rebase . foo', Santi Béjar, (Sat Nov 13, 10:20 am)
Re: [PATCH] Use reflog in 'pull --rebase . foo', Martin von Zweigbergk, (Sat Nov 13, 10:52 am)
Re: [PATCH] Use reflog in 'pull --rebase . foo', Santi Béjar, (Sat Nov 13, 4:10 pm)