This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Git related helper scripts
# This function overrides 'git' so that it is used correctly in tests. It has
# the following properties:
#
# - When we initialise a repository, we always want to set a git user manually.
#
git() {
if [ "$1" = "init" ]; then
command git "$@"
command git config user.name "Test Name"
command git config user.email "test@example.com"
else
command git "$@"
fi
}