The testsuite revealed that cgit snapshots don't set any useful timestamp on the files contained in the snapshot.
Unified · Split
| @@ -99,6 +99,7 @@ void cgit_print_snapshot(struct cacheitem *item, const char *head, · 98 unmodified lines | ||
| 99 | 99 | memset(&args,0,sizeof(args)); |
| 100 | 100 | args.base = fmt("%s/", prefix); |
| 101 | 101 | args.tree = commit->tree; |
| 102 | + args.time = commit->date; | |
| 102 | 103 | cgit_print_snapshot_start(sat->mimetype, filename, item); |
| 103 | 104 | (*sat->write_func)(&args); |
| 104 | 105 | return; |