mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
16 lines
430 B
Bash
Executable file
16 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 \
|
|
"$@"
|