diff options
author | Wolfgang Müller | 2021-05-28 16:02:54 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-28 16:02:54 +0200 |
commit | 69a9085b7b833c5c8a445784b479518cb391baae (patch) | |
tree | 8ed6ce37818f381e23b38dc74235206ec094040b /tests/t0110-rawdiff.sh | |
parent | 55fa25adb097d2681607d8b0f51a0c393cc9af1a (diff) | |
download | cgit-69a9085b7b833c5c8a445784b479518cb391baae.tar.gz |
cache: Disable caching for clones
Whilst the cache feature is useful for content that the web browser will
see, it is less useful when cgit is asked to clone a repository. Users
might end up with a tree that is ever so slightly out of date.
An upcoming commit will introduce functionality to offload clones to
git-http-backend(1). The cache feature will prevent this from working
correctly.
Therefore, disable cache processing for commands that have the is_clone
flag set.
Diffstat (limited to 'tests/t0110-rawdiff.sh')
0 files changed, 0 insertions, 0 deletions