]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
add by-hash sources.list option and document all of by-hash
[apt.git] / apt-pkg / indexfile.cc
index fad3391973dc9c49474b11453e2059d409b125dd..f57b442a3205f2a5fc017901225a6fa0f6f2983a 100644 (file)
@@ -148,6 +148,7 @@ std::string IndexTarget::Option(OptionKeys const EnumKey) const             /*{{{*/
       APT_CASE(DEFAULTENABLED);
       APT_CASE(COMPRESSIONTYPES);
       APT_CASE(SOURCESENTRY);
       APT_CASE(DEFAULTENABLED);
       APT_CASE(COMPRESSIONTYPES);
       APT_CASE(SOURCESENTRY);
+      APT_CASE(BY_HASH);
 #undef APT_CASE
       case FILENAME: return _config->FindDir("Dir::State::lists") + URItoFileName(URI);
       case EXISTING_FILENAME:
 #undef APT_CASE
       case FILENAME: return _config->FindDir("Dir::State::lists") + URItoFileName(URI);
       case EXISTING_FILENAME: