314d9ea5a3
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>
8 regels
191 B
C
8 regels
191 B
C
#ifndef UI_SNAPSHOT_H
|
|
#define UI_SNAPSHOT_H
|
|
|
|
extern void cgit_print_snapshot(const char *head, const char *hex,
|
|
const char *filename, int snapshot, int dwim);
|
|
|
|
#endif /* UI_SNAPSHOT_H */
|