From 4251f1bb695c720f968edfcadcc4cb3e2cdbe8b8 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 1 Nov 2026 09:45:16 -1000 Subject: Link snapshots of a slash ref by a dashed name The snapshot page refuses to work a revision out of a name holding a slash, since that name becomes the top directory of the archive, so every link for a ref like release/2.0 answered 404. The ref now goes in the link as the id, and the archive unpacks into the repository's own prefix, as any snapshot asked for by id does. --- MANUAL.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 081faad..4efc0db 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -517,8 +517,9 @@ snapshots:: and "zip". The special value "all" enables all snapshot formats. All compressors use default settings. Some settings can be influenced with environment variables, for example set ZSTD_CLEVEL=10 in the web server - environment for higher (but slower) zstd compression. Default value: - none. + environment for higher (but slower) zstd compression. A ref with a slash + in its name, such as "release/2.0", has its snapshots named with a dash + in place of the slash. Default value: none. source-filter:: Specifies a command which will be invoked to format plaintext blobs in -- cgit 2.12.1