]> git.saurik.com Git - apt.git/commit
policy: Return highest file pin if version pin == 0 in GetPriority()
authorJulian Andres Klode <jak@debian.org>
Mon, 10 Aug 2015 10:18:28 +0000 (12:18 +0200)
committerJulian Andres Klode <jak@debian.org>
Mon, 10 Aug 2015 10:18:28 +0000 (12:18 +0200)
commit5f9386e54360c403772e2a876d48d31dde9d5097
tree177cc6b75801285d8ce8fd7a8d4bd39eb6069351
parent20cf708a62df5e4aa45a506819db425c6cc975fe
policy: Return highest file pin if version pin == 0 in GetPriority()

This makes sure that we display a useful value instead of 0 for
versions that are pinned due to package files.
apt-pkg/policy.cc