List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 0/2] Custom snapshot prefix
@ 2018-03-31 13:36 john
  2018-03-31 13:36 ` [PATCH 1/2] ui-shared: pass repo object to print_snapshot_links() john
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: john @ 2018-03-31 13:36 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-31 14:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-31 13:36 [PATCH 0/2] Custom snapshot prefix john
2018-03-31 13:36 ` [PATCH 1/2] ui-shared: pass repo object to print_snapshot_links() john
2018-03-31 13:36 ` [PATCH 2/2] Add "snapshot-prefix" repo configuration john
2018-03-31 14:25 ` [PATCH v2 0/3] Custom snapshot prefix john
2018-03-31 14:25   ` [PATCH v2 1/3] ui-shared: pass repo object to print_snapshot_links() john
2018-03-31 14:25   ` [PATCH v2 2/3] ui-snapshot: pass repo into get_ref_from_filename() john
2018-03-31 14:25   ` [PATCH v2 3/3] Add "snapshot-prefix" repo configuration john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).