]> gitweb.ps.run Git - ps-cgit/commit
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)
commit314d9ea5a3bc60ec518e314bb0bf8072123dc08f
treeca65f83e89b301ff6df228785c73c8413a072361
parent7b5cee65fd9cf31e4f19ce4ff613778cb95512a9
Set prefix in snapshots when using dwimmery

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>
cmd.c
ui-snapshot.c
ui-snapshot.h