Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Working on somebody else patch set in Gerrit

Dariusz Luksza <dariusz.luksza@xxxxxxxxx> wrote:
> I would like to work on Remy's patch set for preliminary
> synchronization view[0]. I've cherry-pick'ed his changes, merged with
> current HEAD and add 'Bug' id and 'Change-Id' into commit message.
> Then want to push it to Gerrit and I've got this error:
> 
> ! [remote rejected] HEAD -> refs/for/master (you are not author remysuen@...)
> 
> So that it seams that I can't work on somebody else changes because
> I'm not an author. Do you know any workarounds for this 'issue' ?

Currently, only committers are allowed to use a different author
line.  This is because the author line is what we report for
attribution in the project's IP logs, so we need to be reasonably
certain that the author line is correct for the foundation's records.
 
> I would prefer work on this patch set instead of creating a new one.

You need to change the author in your commit to be you, but maybe
add a "Also-by: ..." line in the footer of the commit message.

E.g. `git commit --amend --author 'Dariusz Luksza <dariusz.luksza@xxxxxxxxx>'`

-- 
Shawn.


Back to the top