Is there an existing issue for this?
Current Behavior
Running pkgcheck scan --commits check all packages changed compared to origin. When you have an unrebased branch, this means reporting results for packages that have changed in origin rather than your changes, which are entirely irrelevant and clutter the output.
Expected Behavior
I think it would be better to compare against merge-base between origin and the current branch.
master commit id
n/a
HEAD link
n/a
pkgcheck version
pkgcheck 0.10.38-4-g35bc261 -- Fri, 1 Aug 2025 18:16:44 +0300
pkgcore version
pkgcore 0.12.31-5-ge9e19ac -- Sat, 23 Aug 2025 10:05:02 +0300
git remotes configuration
mgorny git@github.com:mgorny/gentoo (fetch)
mgorny git@github.com:mgorny/gentoo (push)
origin git@git.gentoo.org:repo/gentoo.git (fetch)
origin git@git.gentoo.org:repo/gentoo.git (push)