For example, here's a similar check: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b583812101f1156c553385effcd9dbee0b751087
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=da6d3bb8357445a228a797046eb0b76dbbbaada0