Skip to content

Allow file moves to infer their content from the source path

Nick Thomas requested to merge (removed):51083-fix-move-operation into master

When moving a file between paths, allow the moved blob's OID to provide the same content at the new location with a minimum of overhead.

This allows us to solve some issues with moves resulting in empty files in GitLab, and is much more efficient than reading the content from Gitaly and sending it back to Gitaly to do the move.

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/51083

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52974

Edited by GitLab Release Tools Bot

Merge request reports