summaryrefslogtreecommitdiffstats
path: root/test/integration/stashPop/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/stashPop/setup.sh')
-rw-r--r--test/integration/stashPop/setup.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/integration/stashPop/setup.sh b/test/integration/stashPop/setup.sh
new file mode 100644
index 000000000..7b6eea95c
--- /dev/null
+++ b/test/integration/stashPop/setup.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+cd $1
+
+git init
+
+git config user.email "CI@example.com"
+git config user.name "CI"
+
+echo test0 > file0
+git add .
+git commit -am file0
+
+echo test1 > file1
+git add .
+git commit -am file1
+
+echo test2 > file2
+git add .
+git commit -am file2
+
+echo "hello there" > file1
+echo "hello there" > file2
+echo "hello there" > file3