summaryrefslogtreecommitdiff
path: root/apt-private/private-list.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-11-28 20:04:14 +0100
committerMichael Vogt <mvo@debian.org>2013-11-28 20:04:14 +0100
commit05f4e3b8441a3dc867ea7956736202a93b36e95b (patch)
treeb8c117fd2c139eed91ce86fc785064a16e5908dd /apt-private/private-list.cc
parent17ab57f41a249fabb15cdbeeff5a5c0942ccf4ac (diff)
parentf832a745920c988188c64ba018d1e2b436627ad5 (diff)
Merge branch 'debian/sid' into ubuntu/master
Conflicts: debian/changelog
Diffstat (limited to 'apt-private/private-list.cc')
-rw-r--r--apt-private/private-list.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-private/private-list.cc b/apt-private/private-list.cc
index 8c61fcae8..08851eb7e 100644
--- a/apt-private/private-list.cc
+++ b/apt-private/private-list.cc
@@ -132,6 +132,8 @@ bool List(CommandLine &Cmd)
std::map<std::string, std::string> output_map;
std::map<std::string, std::string>::const_iterator K;
+ bool includeSummary = _config->FindB("APT::Cmd::List-Include-Summary");
+
PackageNameMatcher matcher(patterns);
LocalitySortedVersionSet bag;
OpTextProgress progress;
@@ -149,7 +151,7 @@ bool List(CommandLine &Cmd)
output_map.insert(std::make_pair<std::string, std::string>(
V.ParentPkg().Name(), outs.str()));
} else {
- ListSingleVersion(CacheFile, records, V, outs);
+ ListSingleVersion(CacheFile, records, V, outs, includeSummary);
output_map.insert(std::make_pair<std::string, std::string>(
V.ParentPkg().Name(), outs.str()));
}