I think it can be simplified a lot now and simply call git log with a simple format showing the info we need for the directories containing changes specific to a given port.
Pull request: https://github.com/WebKit/WebKit/pull/2162
Committed 252265@main (f2bacb5cfc5f): <https://commits.webkit.org/252265@main> Reviewed commits have been landed. Closing PR #2162 and removing active labels.
<rdar://problem/96655155>