[PATCH 0/2] Custom snapshot prefix

John Keeping john at keeping.me.uk
Sat Mar 31 15:36:24 CEST 2018


This isn't the mechanism Konstantin asked for, but for this particular
feature I think this is a better way of achieving the same effect.

I don't see much need for a per-tag configuration option for the
snapshot prefix, so this enables it only at the repository level.
Please let me know if I've missed something here!

John Keeping (2):
  ui-shared: pass repo object to print_snapshot_links()
  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-tag.c     |  3 +--
 8 files changed, 28 insertions(+), 11 deletions(-)

-- 
2.14.1.555.g1b9dbff880.dirty



More information about the CGit mailing list