Avoid Gitaly calls when a document has only upload links
Now that we have the UploadLinkFilter, the RepositoryLinkFilter should be a no-op (in particular, making no Gitaly calls) when it doesn't have anything to do. To ensure that happens: 1. Remove upload handling from RepositoryLinkFilter. 2. Add a spec to ensure that this case generates no Gitaly calls. 3. Move common code to a mixin.
Showing
Please register or sign in to comment