This is preliminary patch, can someone please review. I'm not the best
elisper and this can probably be done a better way.

Anyway the patch is located at:
http://gist.github.com/448664

> That would most likely be my patch to force pushing to an explicit ref. I
> can fix it to make sure a ref is found but I do fond it curious that it's
> not being found.
>
> On Jun 21, 2010, at 19:17, "Jose A. Ortega Ruiz" <[email protected]> wrote:
>
>>
>> Hi,
>>
>> In a recent emacs snapshot ("GNU Emacs 24.0.50.1 (i486-pc-linux-gnu,
>> GTK+ Version 2.20.1) of 2010-06-19 on elegiac, modified by Debian") and
>> latest magit from github, magit-push is failing to compute a valid
>> ref-branch; i.e., in magit-push's body,
>> (magit-get "branch" branch "merge") evaluates to nil, and, therefore,
>> the git command executed for a push is of the form:
>>
>>  $ git --no-pager push -v origin master:nil
>>
>> which actually creates a new branch (named nil) in the remote repo (my
>> git version is 1.7.1).
>>
>> Perhaps this is a glitch in my git setup, but it was working fine until
>> a week ago or so.
>>
>> Any idea of what i'm doing wrong?
>>
>> TIA,
>> jao
>> --
>> If all else fails read the instructions. - Donald Knuth
>>
>


Reply via email to