Add documentation for file edits
When trying to make file edits that don't change the file, Gerrit throws
error 409, with "no changes were made".
Change-Id: I581986e44bd0116054cfae05c0537dd058828655
diff --git a/Documentation/rest-api-changes.txt b/Documentation/rest-api-changes.txt
index 18a00d5..075ea8f 100644
--- a/Documentation/rest-api-changes.txt
+++ b/Documentation/rest-api-changes.txt
@@ -2641,6 +2641,14 @@
HTTP/1.1 204 No Content
----
+When the change edit is a no-op, for example when providing the same file
+content that the file already has, '409 no changes were made' is returned.
+
+.Response
+----
+ HTTP/1.1 409 no changes were made
+----
+
[[post-edit]]
=== Restore file content or rename files in Change Edit
--