Expand description
Environment variables which affect the functioning of git-branchless
.
Constants§
- TEST_
GIT - Path to the Git executable to shell out to as a subprocess when appropriate. This may be set during tests.
- TEST_
GIT_ EXEC_ PATH - “Path to wherever your core Git programs are installed”. You can find
the default value by running
git --exec-path
. - TEST_
SEPARATE_ COMMAND_ BINARIES - Specifies
git-branchless
subcommands to invoke directly.
Functions§
- get_
git_ exec_ path - Get the
GIT_EXEC_PATH
environment variable for testing. - get_
path_ to_ git - Get the path to the Git executable for testing.
- should_
use_ separate_ command_ binary - Determine whether the specified binary should be run separately. See
TEST_SEPARATE_COMMAND_BINARIES
for more details.