diff options
author | Rubén Dávila <ruben@gitlab.com> | 2017-12-20 10:57:27 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2017-12-20 10:57:27 -0500 |
commit | c927e57466b6c705891f09c95f566259d8e1ec0e (patch) | |
tree | c464abfd7c7f7138ea5ae0dabebd7e9f3a0680b2 /doc/api/commits.md | |
parent | c210ddab9289e29fadc9a5a0462ffbe864af736c (diff) | |
download | gitlab-ce-c927e57466b6c705891f09c95f566259d8e1ec0e.tar.gz |
Updates from last code review:38356-add-last_commit_sha-to-the-commit-api
- Apply some refactoring for code reuse
- Add file status validation for Files::DeleteService
- Write additional specs
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r-- | doc/api/commits.md | 2 |
1 files changed, 1 insertions, 1 deletions
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' |