[go: up one dir, main page]

Skip to content

Create commit API does not respect LFS tracking rules

The create commit API doesn't create LFS pointers when specified by the .gitattributes files. This causes problem in the Web IDE which uses the API and for any API consumers by causing the project to enter an invalid state.

https://docs.gitlab.com/ce/api/commits.html#create-a-commit-with-multiple-files-and-actions

Why

Not doing so results in the repo being in an invalid state, with changes to the working tree made by git on checkout.

Related

Edited by James Ramsay (ex-GitLab)