Files
gerrit/Documentation
Patrick Hiesel fda9645d2f Create REST endpoint to change commit message
Modifying the commit message using change edits needs two separate API
calls:

  PUT /changes/{change-id}/edit:message
  POST /changes/{change-id}/edit:publish

Since it requires two API calls, the operation is not atomic and can
leave a user with an unpublished edit.

PolyGerrit wants to support editing a commit message as an atomic
operation even before support for change edits is built.

This commit adds a new API endpoint on the change resource that
allows to edit the commit message of a change atomically.

It does not reuse the code from a previous implementation since the
underlying infrastructure changed and we now use BatchUpdate.

Bug: Issue 6502
Change-Id: I60595df074b00a503165c41485b69a5fe0c5de39
2017-06-21 15:20:02 +02:00
..
2015-05-06 11:25:51 -07:00
2016-07-07 14:06:31 +02:00
2016-07-07 14:06:31 +02:00
2016-07-07 14:06:31 +02:00
2016-09-23 14:27:39 +00:00
2016-11-24 09:52:22 +09:00
2017-03-18 08:02:48 +01:00
2017-03-24 08:36:18 +09:00
2017-04-13 10:27:56 +02:00
2016-10-03 13:32:09 +09:00
2015-04-30 14:37:09 +00:00