]> gitweb.ps.run Git - ps-cgit/commitdiff
Set prefix in snapshots when using dwimmery
authorNatanael Copa <natanael.copa@gmail.com>
Sun, 30 Nov 2008 05:49:07 +0000 (21:49 -0800)
committerLars Hjemli <hjemli@gmail.com>
Sun, 30 Nov 2008 12:39:53 +0000 (13:39 +0100)
This patch sets the directory prefix in archives to be the filename,
excluding the suffix (.tar.gz, .tar.bz2 etc).

The patch also removes the prefix parameter in cgit_print_snapshot()
as the prefix might differ.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found