diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-04-26 16:54:28 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-04-26 18:33:27 -0400 |
commit | 4d95f8528b200d39dfdacecc4a6098a0404cc36c (patch) | |
tree | 89b1a4bc94b6b6a92cb57aaea53fe563b03449f6 /tests | |
parent | 7cdebd72140b6428125a71b2c56d082990243474 (diff) |
Add failing test of empty commit / empty files #128
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/examples/128-empty-file | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/examples/128-empty-file b/tests/examples/128-empty-file new file mode 100755 index 00000000..a52bdb0c --- /dev/null +++ b/tests/examples/128-empty-file @@ -0,0 +1,15 @@ +#!/bin/bash + + +repo=$(mktemp -d) +cd $repo + +git init +git commit --allow-empty -m "Initial commit" + +touch file + +git add file +git commit -m "Initial commit" + +git show |