summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/pkghash.c
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2019-09-08 23:45:27 +0200
committerAllan McRae <allan@archlinux.org>2019-10-07 04:12:04 +0200
commitb4e4b74acea3d652317b030e761300d5c7b437a2 (patch)
treeaa69bbf8ec97325e6b1ec67c41a552a16c1e6696 /lib/libalpm/pkghash.c
parentbcacb00fc89c04ec0b5e7ebefe3b605b266cef57 (diff)
downloadpacman-b4e4b74acea3d652317b030e761300d5c7b437a2.tar.gz
pacman-b4e4b74acea3d652317b030e761300d5c7b437a2.tar.xz
libalpm: resolvedep(): don't compare names twice
If we failed to get the pkg from pkgcache then we know no satisfying package exists by name. So only compare provides. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/pkghash.c')
0 files changed, 0 insertions, 0 deletions