From c927e57466b6c705891f09c95f566259d8e1ec0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20D=C3=A1vila?= Date: Wed, 20 Dec 2017 10:57:27 -0500 Subject: Updates from last code review: - Apply some refactoring for code reuse - Add file status validation for Files::DeleteService - Write additional specs --- doc/api/commits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/commits.md') diff --git a/doc/api/commits.md b/doc/api/commits.md index 7de08d230dd..c9b72d4a1dd 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -84,7 +84,7 @@ POST /projects/:id/repository/commits | `previous_path` | string | no | Original full path to the file being moved. Ex. `lib/class1.rb` | | `content` | string | no | File content, required for all except `delete`. Optional for `move` | | `encoding` | string | no | `text` or `base64`. `text` is default. | -| `last_commit_id` | string | no | Last known file commit id | +| `last_commit_id` | string | no | Last known file commit id. Will be only considered in update, move and delete actions. | ```bash PAYLOAD=$(cat << 'JSON' -- cgit v1.2.1