• Sean McGivern's avatar
    Avoid Gitaly calls when a document has only upload links · 7cfbf326
    Sean McGivern authored
    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.
    7cfbf326
post_process_pipeline_spec.rb 718 Bytes