summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-08-16 07:47:44 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-08-17 07:55:46 +0200
commit77e274f5ad23d79294f28ecc9868fc6f534214a4 (patch)
tree508ee0bdc4c43fd7bf9d86f1f31e0a864fc5ea98 /ftparchive
parenta99bb943e97883af6f063af9eb14e20b7a7320fc (diff)
downloadapt-77e274f5ad23d79294f28ecc9868fc6f534214a4.tar.gz
support compression and by-hash for .diff/Index files
In af81ab9030229b4ce6cbe28f0f0831d4896fda01 by-hash got implemented as a special compression type for our usual index files like Packages. Missing in this scheme was the special .diff/Index index file containing the info about individual patches for this index file. Deriving from the index file class directly we inherent the compression handling infrastructure and in this way also by-hash nearly for free. Closes: #824926
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/writer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index c34a04d1a..018cf0052 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -992,6 +992,7 @@ ReleaseWriter::ReleaseWriter(FileFd * const GivenOutput, string const &/*DB*/) :
AddPattern("Release");
AddPattern("Contents-*");
AddPattern("Index");
+ AddPattern("Index.*");
AddPattern("icons-*.tar");
AddPattern("icons-*.tar.*");
AddPattern("Components-*.yml");