Skip to content

Add support for `start_sha` to commits API

Problem to solve

The Web IDE uses the commits API (POST /projects/:id/repository/commits) but can only supply a start_branch rather than a start_sha which is needed if the source branch changes while the user is editing a file.

Proposal

Add start_sha field to POST /projects/:id/repository/commits

Links / references