Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-incubator-dev] Git limitation? "Cannot push changes that were not committed by you"

Hi Denis,

I have added https://bugs.eclipse.org/bugs/show_bug.cgi?id=324768 for
this explaining the matter and requesting a softening of the push
policy.

Let's see what others say.


Gabriel


On Wed, Sep 8, 2010 at 3:16 PM, Eclipse Webmaster (Denis Roy)
<webmaster@xxxxxxxxxxx> wrote:
>  Hi,
>
> Indeed, this is an imposed limitation.  Please see
>
> http://wiki.eclipse.org/Git#Committing_and_pushing
>
> for more information.
>
> Denis
>
>
>
>
> On 09/08/2010 09:10 AM, Gabriel Petrovay wrote:
>>
>> Hi Matt,
>>
>> We have a problem with a sequences of commits that we cannot push to
>> Eclipse Git.
>>
>> William (wcandillon@xxxxxxxxx) implemented something and committed on
>> his machine. I (gabipetrovay@xxxxxxxxx) wanted to review the changes.
>> So I connected to his cloned repository, and merged his changes into
>> one branch in my repo. I also committed some bug fixes on my machine.
>>
>> No I want to push the changes to Eclipse and I get:
>>
>> remote:
>> remote: error: git.eclipse.org does not know this committer,
>> remote:   or this is not you: wcandillon@xxxxxxxxx.
>> remote:
>> remote: denied: You (gabipetrovay@xxxxxxxxx) cannot push changes that
>> were not committed by you. Please fix your repository, and see http://
>> wiki.eclipse.org/Git for information on configuring your Git environment.
>> remote:
>> remote: error: hook declined to update refs/heads/xquery-dev
>> To
>> ssh://gpetrovay@xxxxxxxxxxxxxxx/gitroot/webtools/org.eclipse.webtools.incubator.git
>>  ! [remote rejected] xquery-dev ->  xquery-dev (hook declined)
>> error: failed to push some refs to
>>
>> 'ssh://gpetrovay@xxxxxxxxxxxxxxx/gitroot/webtools/org.eclipse.webtools.incubator.git'
>>
>>
>> Why am I now allowed to push his changes as well? If this is an
>> imposed limitation, I think this is wrong. Our only solution would be
>> then for William to push his changes (assume they will break the
>> build) and then I pull and push my bug fixes. So we are forced to
>> break the builds.
>>
>> Am I missing something?
>>
>> Thanks!
>>
>
>



-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com


Back to the top