diff options
author | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-18 21:09:51 +0200 |
---|---|---|
committer | Anthony HAMON <hamon.anth@gmail.com> | 2018-09-20 09:11:47 +0200 |
commit | 360b7c1def1f5945f30d89e393bdd4233f0c3179 (patch) | |
tree | 2c9032a172bb9ec5087fe33f86e3a27e28d3039d /test | |
parent | bdeb78c9a04963847ffd90c2277b3a274e3ba309 (diff) |
commands/git : refactor test to Diff, refactor function
Diffstat (limited to 'test')
-rwxr-xr-x | test/repos/lots_of_diffs.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/test/repos/lots_of_diffs.sh b/test/repos/lots_of_diffs.sh deleted file mode 100755 index 08c743f35..000000000 --- a/test/repos/lots_of_diffs.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -set -ex; rm -rf repo; mkdir repo; cd repo - -git init -git config user.email "test@example.com" -git config user.name "Lazygit Tester" - - -echo "deleted" > deleted_staged -echo "deleted_unstaged" > deleted_unstaged -echo "modified_staged" > modified_staged -echo "modified_unstaged" > modified_unstaged -echo "renamed" > renamed_before - -git add . -git commit -m "files to delete" -rm deleted_staged -rm deleted_unstaged - -rm renamed_before -echo "renamed" > renamed_after -echo "more" >> modified_staged -echo "more" >> modified_unstaged -echo "untracked_staged" > untracked_staged -echo "untracked_unstaged" > untracked_unstaged -echo "blah" > "file with space staged" -echo "blah" > "file with space unstaged" -echo "same name as branch" > master - -git add deleted_staged -git add modified_staged -git add untracked_staged -git add "file with space staged" -git add renamed_before -git add renamed_after
\ No newline at end of file |