Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

17 lines
430 B
Bash
Executable File

#! /usr/bin/env bash
# Git wrapper script for use during testing.
# Use original path so we find the system's installed git, not this wrapper.
PATH="$ORIGPATH"
# Unsetting the following prevents git from reading ~/.gitconfig,
# including potential githooks.
HOME=
XDG_CONFIG_HOME=
git -c init.defaultBranch=master \
-c protocol.file.allow=always \
-c user.name=zeektest \
-c user.email=zeektest@zeek.org \
"$@"