/git-common-descendant

Finding common descendants of 2 commits https://matrix.ai

Primary LanguageNixApache License 2.0Apache-2.0

git-common-descendants

Given 2 commits, this command will find the earliest common descendant.

Installation

Building the package:

nix-build -E '(import ./pkgs.nix).callPackage ./default.nix {}'

Building the releases:

nix-build ./release.nix --attr application 

Install into Nix user profile:

nix-env -f ./release.nix --install --attr application

Development

# development environment
nix-shell
# clean the build
link="$(readlink ./result)" \
&& rm ./result \
&& nix-store --delete "$link"