fix: Fix commit payload structure

Fix the structure of the commit payload sent by the Web IDE to ensure that commit requests trigger conflict errors.

  1. Send last_commit_id for every commit action unless a file is deleted or the branch is new.
  2. Remove the leading slash from file paths.
Edited by Enrique Alcántara

Merge request reports

Loading