--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you push up a branch containing all of the upstream changes directly, and then submit a review of the merge between it and your branch carrying the modifications you'll only get a review of the merge commit.
We do that in work by having a special CI job that has push privileges to a particular set of branches to bypass reviews for code from the upstream project.
However we don't use a normal merge, and have a slightly different workflow which you may want to consider if you're expecting that you'll constantly be tracking the upstream project but needing to push on with local changes applied.
We also always want the possibility to re review the changes we carry in the context of the latest upstream, and use a tool called git-upstream (I'm the author), to rebase the local changes onto the upstream and then perform a special merge to discard what was previous on master in favour of what is coming from upstream+our patches.
See https://github.com/stackforge/git-upstream for more info.
So yes, you can push the upstream directly to a branch in your gerrit repo bypassing review, and then create a merge commit, but you may find that difficult to review and also less clear over time as to where changes came from. See evil merges on stackforge about that.
---
Darragh Bailey
"Nothing is foolproof to a sufficiently talented fool" - unknown