File: git

package info (click to toggle)
zkg 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,740 kB
  • sloc: python: 5,910; sh: 268; makefile: 265; cpp: 24
file content (16 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /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=zkg \
    -c user.email=zkg@zeek.org \
    "$@"