[PATCH v2 0/3] Custom snapshot prefix
John Keeping
john at keeping.me.uk
Sat Mar 31 16:25:12 CEST 2018
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
More information about the CGit
mailing list