summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter-patterns.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2024-01-03 16:25:35 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2024-01-03 16:59:11 +0000
commitafcdbcf895284efd76903b2b3ba5cc849059ce50 (patch)
tree23aacb3d405c71fadbd3a41a25d02fb67d845811 /apt-pkg/cachefilter-patterns.cc
parentc82f96210eb62c92d31ded7073f4cf5371cc9485 (diff)
Do not store .diff_Index files in update
Nowadays we only download the index file if we have a non-current file on disk which we want to patch. If that is the case, any index file for patches we could have stored is by definition outdated, so storing those files just takes up disk space. At least, that is the case if we have a Release file – if we don't this commit introduces a needless redownload for such repositories but such repositories are an error by default and if they can't be bothered to provide a Release file its very unlikely they actually ship diffs, so adding detection code for this seems pointless at best.
Diffstat (limited to 'apt-pkg/cachefilter-patterns.cc')
0 files changed, 0 insertions, 0 deletions