Enhance "related" commit lookup