git-mergetool--lib

Internal tool integration library

TLDR

Source for tool scripts
$ . "$(git --exec-path)/git-mergetool--lib"

SYNOPSIS

git-mergetool--lib

DESCRIPTION

git-mergetool--lib is a shell library used internally by `git-mergetool` and `git-difftool`. It provides common functions for tool selection, invocation, and configuration handling.The library is sourced by scripts that need merge or diff tool functionality. It handles tool detection, path configuration, and tool-specific setup. This is internal infrastructure and not intended for direct use.

INSTALL

sudo apt install git
sudo dnf install git
sudo pacman -S git
sudo apk add git
sudo zypper install git
brew install git
nix profile install nixpkgs#git

CAVEATS

Internal library, not a command. Sourced by other git scripts. Not intended for direct use.

HISTORY

git-mergetool--lib is part of Git's internal infrastructure, providing shared code for merge and diff tool integration.

SEE ALSO

git-mergetool(1), git-difftool(1)

RESOURCES

Source code · Homepage · Documentation