summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 1f3d83941..7fc556b7c 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1021,6 +1021,11 @@ void pkgAcqIndex::Init(string const &URI, string const &URIDesc, string const &S
}
// do the request by-hash
+ // TODO:
+ // - add Support-By-Hash hashtype into Release time so that we
+ // know we can use it
+ // - (maybe?) add support for by-hash into the sources.list as flag
+ // - make apt-ftparchive generate the hashes (and expire?)
if(_config->FindB("APT::Acquire::By-Hash", false) == true &&
MetaIndexParser)
{