]> git.saurik.com Git - apt.git/commit
more explicit MarkRequired algorithm code
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 8 Apr 2016 11:03:05 +0000 (13:03 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 31 Aug 2016 11:49:37 +0000 (13:49 +0200)
commit43e01d61c2f9872536ff8b879b58ae367d2ec8cb
tree674e045db04f590550077d6a7d9139d439d29bf2
parent90daf43aeb6a911f6511faf5064f5811fd27acb5
more explicit MarkRequired algorithm code

Piling everything in a single if statement always made my head wobble,
but it hasn't even a benefit as the most common case of a package which
isn't installed passes all of the old if and lands in the non-existent
else-part of the inner if. So beside a subjective cleanup of what goes
on this implementation should also be a bit faster.

No change in behavior should be present.

Gbp-Dch: Ignore
(cherry picked from commit 769e9f3ea1cbe67d3b98e6db6c956abde2384868)
apt-pkg/depcache.cc