Thanks for documenting this but I don't think forcing people to use git-review is the right approach. It worked for us before in many other projects, why is this different and why can't I use vanilla git to gerrit interaction?
toggle quoted messageShow quoted text
What is the issue here exactly?
On Feb 18, 2016, at 14:05, Andre Guedes <andre.guedes(a)intel.com> wrote:
I was having some trouble to submit a change to Gerrit which depends on
someone else's change. If I use the 'git push' command as described in ,
I get the following error:
remote: ERROR: In commit <commit id>
remote: ERROR: author email address <someone(a)mail.com>
remote: ERROR: does not match your user account.
remote: ERROR: The following addresses are currently registered:
remote: ERROR: <your email>
remote: ERROR: To register an email address, please visit:
remote: ERROR: https://gerrit.zephyrproject.org/r/#/settings/contact
Talking to Andrew Grimberg from Linux Foundation, he recommended using
git-review and it worked around the issue.
Here are the instructions I followed to setup git-review:
$ cat > .gitreview
$ git-review -s
To submit your patch(es) to review:
$ git-review -T
I hope this can save you time in case you run into a similar problem ;)
BTW, Andrew submitted a patch adding the .gitreview file so we don't have
to keep it locally.