[Systems] Fwd: Pootle commit error

Simon Schampijer simon at schampijer.de
Tue Jan 4 11:57:34 EST 2011


On 12/26/2010 08:27 AM, Aleksey Lim wrote:
> On Sat, Dec 25, 2010 at 08:23:24PM -0500, Sayamindu Dasgupta wrote:
>> On Sat, Dec 25, 2010 at 12:03 AM, Gonzalo Odiard<gonzalo at laptop.org>  wrote:
>>> On Fri, Dec 24, 2010 at 11:32 PM, Sayamindu Dasgupta<sayamindu at gmail.com>
>>> wrote:
>>>>
>>>> I think it's pushing to both branches or something, and the push to
>>>> master is failing (for the right reasons).
>>>> (though I agree - it would be nice to patch Pootle so that it pushes
>>>> to the right branch)
>>>>
>>> Yes, but that means Pootle does not support branches?
>>> Or is a problem with our installation?
>>
>>
>> Pootle can only do a blind "git push". If there is some configuration
>> magic in Git which lets you specify the default branch, we should do
>> that.
>
> There is push.default config option. According to the man, "current"
> value will let git push the current branch to a branch of the same name.
>

In the release script I do: git push origin HEAD

http://git.sugarlabs.org/sugar-tools/mainline/commit/0ebb98c2757805a552fe13995b2256ca588e3da1

This does push the current branch:

http://www.kernel.org/pub/software/scm/git/docs/git-push.html

Regards,
    Simon


More information about the Systems mailing list