git @ Cat's Eye Technologies klaus / aa692c0
Merge pull request #207 from bittracker/issue-144 Fixes #144 - Blank Git user config for tests Jonas Haag authored 7 years ago GitHub committed 7 years ago
3 changed file(s) with 21 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/bash -e
1
2 # This should prevent this script to load the local git user config:
3 # (HOME overwrite)
4 HOME="."
5
16 git init
27
38 # Create binary
1217 yes | head -n 102400 > toolarge
1318 git add toolarge
1419
15 git commit --no-gpg-sign -am first
20 git commit -am first
00 #!/bin/bash -e
1
2 # This should prevent this script to load the local git user config:
3 # (HOME overwrite)
4 HOME="."
5
16 git init
27
38 echo 1 > test
49 echo -n 2 >> test
510 git add test
6 git commit --no-gpg-sign -m old
11 git commit -m old
712
813 echo 1 > test
914 echo 2 >> test
1015 git add test
11 git commit --no-gpg-sign -m new
16 git commit -m new
00 #!/bin/bash -e
1
2 # This should prevent this script to load the local git user config:
3 # (HOME overwrite)
4 HOME="."
5
16 git init
27
38 echo "int a;" > test.c
49 echo "function test() {}" > test.js
510 git add test.c
611 git add test.js
7 git commit --no-gpg-sign -m "Add some code"
12 git commit -m "Add some code"
813
9 git commit --no-gpg-sign --allow-empty -m "Empty commit 1"
14 git commit --allow-empty -m "Empty commit 1"
1015 git tag tag1
1116
12 git commit --no-gpg-sign --allow-empty -m "Empty commit 2"
17 git commit --allow-empty -m "Empty commit 2"