From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Sat, 31 Mar 2018 15:25:12 +0100 Subject: [PATCH v2 0/3] Custom snapshot prefix In-Reply-To: References: Message-ID: 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