mirror of
https://git.zx2c4.com/cgit
synced 2024-11-25 01:48:41 +00:00
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 lines
191 B
C
8 lines
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 */
|