#commit #git-commit #find #merged #mainline

bin+lib git-whennes

Find the commit that merged a commit into mainline

4 releases (breaking)

0.4.0 Sep 15, 2022
0.3.0 Oct 27, 2021
0.2.0 May 8, 2021
0.1.0 May 8, 2021

#4 in #merged

MIT license

18KB
400 lines

git-whennes

Crate Docs CI

Find the commit where a given commit was merged into mainline. Inspired by git-whence.

Usage

See git whence -h for details on the CLI usage.

Forges

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.

Dependencies

~12MB
~261K SLoC