It turns out I should have tested whether downloads with a custom prefix actually work... they didn't!
v2 adds a new refactoring patch in the middle and ensures that we update the request handling logic in the final patch. John Keeping (3): ui-shared: pass repo object to print_snapshot_links() ui-snapshot: pass repo into get_ref_from_filename() Add "snapshot-prefix" repo configuration cgit.c | 2 ++ cgit.h | 1 + cgitrc.5.txt | 7 +++++++ ui-commit.c | 3 +-- ui-refs.c | 2 +- ui-shared.c | 16 ++++++++++++---- ui-shared.h | 5 +++-- ui-snapshot.c | 9 +++++---- ui-tag.c | 3 +-- 9 files changed, 33 insertions(+), 15 deletions(-) -- 2.16.3 _______________________________________________ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit