On Sat, Feb 25, 2012 at 1:20 AM, Antoine Musso <hashar+wmf(a)free.fr> wrote:
Le 25/02/12 00:48, Platonides a écrit :
There's no way to treat a set of commits as a
bundle?
Not really. Each commit is considered by Gerrit as a new change. If you have
a bundle of commits, you either:
1) squash them in a single commit, losing all history but generating only
one change.
2) submit all commits, which makes as many changes request which can then
each be reviewed.
I believe there is an option number 3, which is to make your changes
in a branch (you should be doing this anyway), then merge that branch
into master with the --no-ff option (this ensures a merge commit is
created even if git thinks it's not strictly necessary) and submit the
merge commit for review. To be fair I've never actually tried this in
cases where the commits in the branch weren't already in Gerrit (I've
submitted merge commits for review before, but only to merge in
branches that were already managed by Gerrit), so I'm not 100% sure it
will be handled the way I think it will be.
Roan