aboutsummaryrefslogtreecommitdiffstats
path: root/ui-snapshot.h
Commit message (Collapse)AuthorAgeLines
* Remove unused parameter from cgit_print_snapshot()Gravatar Lukas Fleischer2014-02-22-1/+1
|
* Set prefix in snapshots when using dwimmeryGravatar Natanael Copa2008-11-30-2/+1
| | | | | | | | | | 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>
* ui-snapshot: add dwimmeryGravatar Lars Hjemli2008-10-12-1/+1
| | | | | | | | | | | | | | | When downloading a snapshot, the snapshot name will often contain the repo name combined with a tag. This patch tries to exploit this so that the correct revision is downloaded even if no specific revision is specified. PS: this only occurs if neither 'h' nor 'id' is specified in the query- string. PPS: this also fixes a bug which occurs when trying to download a filename with an unsupported suffix: it used to try to print an error message to the user but failed since it didn't prepare the output properly. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add separate header-files for each page/viewGravatar Lars Hjemli2008-03-25-0/+8
Yet another step towards removing cgit.h. Signed-off-by: Lars Hjemli <hjemli@gmail.com>