blob: aa90f3d0328326a674be403b232d3560bf1e4320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# file : tests/git-common.testscript
# license : MIT; see accompanying LICENSE file
# Set commonly-used variables and create an empty git repository that will be
# copied by subsequent tests and scope setup commands.
#
g = git >! 2>&1
gp = $g -C prj
ga = $gp add
gr = $gp rm
+$g init prj &prj/***
+$gp config user.name 'Test Script'
+$gp config user.email 'testscript@example.com'
clone_prj = cp --no-cleanup -r ../prj ./ &prj/***
|