Support cherry-picking changes instead of merging them
A project owner can how choose to submit changes by cherry-picking
them onto the current branch, instead of requiring a fast-forward
or a merge. This always rewrites the commit, so it gives us the
opportunity to inject Gerrit review information into the bottom
of the commit message, as well as to set the committer field to
match the user who actually pushed the submit button.
Setting a project's submit action to "Cherry Pick" makes a project
behave more like one based around email and "git am", than one that
uses git pull style merge semantics.
Bug: GERRIT-111, GERRIT-114
Signed-off-by: Shawn O. Pearce <sop@google.com>
7 files changed