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 | memset(&args,0,sizeof(args)); | 99 | memset(&args,0,sizeof(args)); |
| 100 | args.base = fmt("%s/", prefix); | 100 | args.base = fmt("%s/", prefix); |
| 101 | args.tree = commit->tree; | 101 | args.tree = commit->tree; |
| 102 | args.time = commit->date; | ||
| 102 | cgit_print_snapshot_start(sat->mimetype, filename, item); | 103 | cgit_print_snapshot_start(sat->mimetype, filename, item); |
| 103 | (*sat->write_func)(&args); | 104 | (*sat->write_func)(&args); |
| 104 | return; | 105 | return; |