Skip to content

Repository model: fixed import method if project is nil

This was spotted by the development setup seeding snippets. Probably the novelty in GitLab 13.3 is to go straight through this instead of Gitlab::Shell. The point is that a Repository is not necessarily tied to a Project any more, it has a container, which can itself have a Project, or not. Snippets can exist independently of any Project.

Merge request reports

Loading