git-whennes
Find the commit where a given commit was merged into mainline. Inspired by git-whence.
See git whence -h
for details on the CLI usage.
Different forges are supported behind their relevant feature flags (e.g.
sourcehut's feature flag is sourcehut
). Supporting a forge depends on the
model that the forge follows. For example, sourcehut doesn't have the concept
of pull requests as such so we can only provide a link to the merge commit in
the web UI. However, GitHub uses a pull request driven workflow so we can link
to the pull request that merged a given commit into mainline.