]> gitweb.ps.run Git - ps-cgit/commit
Include querystring as part of cached filename for repo summary page
authorLars Hjemli <hjemli@gmail.com>
Mon, 18 Jun 2007 19:17:24 +0000 (21:17 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 18 Jun 2007 19:17:24 +0000 (21:17 +0200)
commit7d6ee4ee8a2c79802a78bc09c0e1e96a7a82de78
tree0e337b6c314454614a54234b1ef3b0595ec05471
parentb8be028a309381b83abe924f5e8e01cf02b121a2
Include querystring as part of cached filename for repo summary page

When adding support for the h parameter to the summary page (passing current
branch between pages), the builtin cache returned basically random results
for summary page since the cached filename didn't honour the querystring.

This fixes the issue for now, but someday it might be worthwhile to generate
'canonical' filenames in the cache for all pages, i.e. something a bit more
clever than just including the querystring.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c