Skip to content
Snippets Groups Projects
Unverified Commit aa692c05 authored by Jonas Haag's avatar Jonas Haag Committed by GitHub
Browse files

Merge pull request #207 from bittracker/issue-144

Fixes #144 - Blank Git user config for tests
parents c6e02801 c85ec1f9
No related branches found
No related tags found
No related merge requests found
#!/bin/bash -e
# This should prevent this script to load the local git user config:
# (HOME overwrite)
HOME="."
git init
# Create binary
......@@ -13,4 +18,4 @@ git add image.jpg
yes | head -n 102400 > toolarge
git add toolarge
git commit --no-gpg-sign -am first
git commit -am first
#!/bin/bash -e
# This should prevent this script to load the local git user config:
# (HOME overwrite)
HOME="."
git init
echo 1 > test
echo -n 2 >> test
git add test
git commit --no-gpg-sign -m old
git commit -m old
echo 1 > test
echo 2 >> test
git add test
git commit --no-gpg-sign -m new
git commit -m new
#!/bin/bash -e
# This should prevent this script to load the local git user config:
# (HOME overwrite)
HOME="."
git init
echo "int a;" > test.c
echo "function test() {}" > test.js
git add test.c
git add test.js
git commit --no-gpg-sign -m "Add some code"
git commit -m "Add some code"
git commit --no-gpg-sign --allow-empty -m "Empty commit 1"
git commit --allow-empty -m "Empty commit 1"
git tag tag1
git commit --no-gpg-sign --allow-empty -m "Empty commit 2"
git commit --allow-empty -m "Empty commit 2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment