From 7c7f7bf9b9c8cc29cc785b7fec4128e1b54dbad1 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 21 Dec 2022 22:52:23 +1100 Subject: [PATCH] migrate diffing integration tests --- pkg/integration/components/assert.go | 7 ++ pkg/integration/tests/diff/diff.go | 62 +++++++++++++++ .../tests/diff/diff_and_apply_patch.go | 74 ++++++++++++++++++ pkg/integration/tests/diff/diff_commits.go | 56 +++++++++++++ pkg/integration/tests/tests.go | 4 + .../expected/repo/.git_keep/COMMIT_EDITMSG | 1 - .../expected/repo/.git_keep/FETCH_HEAD | 0 .../diffing/expected/repo/.git_keep/HEAD | 1 - .../diffing/expected/repo/.git_keep/config | 10 --- .../expected/repo/.git_keep/description | 1 - .../diffing/expected/repo/.git_keep/index | Bin 353 -> 0 bytes .../expected/repo/.git_keep/info/exclude | 7 -- .../diffing/expected/repo/.git_keep/logs/HEAD | 9 --- .../repo/.git_keep/logs/refs/heads/branch2 | 5 -- .../repo/.git_keep/logs/refs/heads/master | 4 - .../05/19814b4923f4639f1a47348b1539e3c5c54904 | Bin 147 -> 0 bytes .../0c/2aa38e0600e0d2df09c2f84664d8a14f899879 | Bin 36 -> 0 bytes .../14/4da8a531224129210249f43dded86056891506 | 2 - .../18/0cf8328022becee9aaa2577a8f84ea2b9f3827 | Bin 21 -> 0 bytes .../1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 | Bin 50 -> 0 bytes .../2d/00bd505971a8bc7318d98e003aee708a367c85 | Bin 24 -> 0 bytes .../38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da | Bin 21 -> 0 bytes .../3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a | Bin 31 -> 0 bytes .../3d/b2086f780b1cf632eec29111ef395913a8ab2b | Bin 127 -> 0 bytes .../57/51731b38a36f8eb54a4bb304522ca539e04522 | Bin 118 -> 0 bytes .../59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 | Bin 126 -> 0 bytes .../75/b31f81dd4387724638dbd3aff7380155c672cd | Bin 148 -> 0 bytes .../8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 | Bin 127 -> 0 bytes .../96/a6d041bbb131df0e74d179c3adcd2ace0e7f9c | Bin 146 -> 0 bytes .../9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c | Bin 101 -> 0 bytes .../a1/00b407f33fd2e97a3cb6f62b68ed6b7cc6c676 | Bin 146 -> 0 bytes .../a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 | Bin 21 -> 0 bytes .../d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 | 2 - .../d1/5e253139400c94b42fc266641d1698720d4ecf | 2 - .../e5/c5c5583f49a34e86ce622b59363df99e09d4c6 | Bin 30 -> 0 bytes .../e7/76522ac28860d2eba6fe98fa4fad67e798419a | Bin 127 -> 0 bytes .../f6/77ef8a14ca2770e48129cc13acfa1c369908cc | 3 - .../repo/.git_keep/refs/heads/branch2 | 1 - .../expected/repo/.git_keep/refs/heads/master | 1 - test/integration/diffing/expected/repo/file0 | 1 - test/integration/diffing/expected/repo/file1 | 1 - test/integration/diffing/expected/repo/file2 | 1 - test/integration/diffing/expected/repo/file4 | 1 - test/integration/diffing/recording.json | 1 - test/integration/diffing/setup.sh | 40 ---------- test/integration/diffing/test.json | 1 - .../expected/repo/.git_keep/COMMIT_EDITMSG | 1 - .../expected/repo/.git_keep/FETCH_HEAD | 0 .../diffing2/expected/repo/.git_keep/HEAD | 1 - .../diffing2/expected/repo/.git_keep/config | 10 --- .../expected/repo/.git_keep/description | 1 - .../diffing2/expected/repo/.git_keep/index | Bin 353 -> 0 bytes .../expected/repo/.git_keep/info/exclude | 7 -- .../expected/repo/.git_keep/logs/HEAD | 9 --- .../repo/.git_keep/logs/refs/heads/branch2 | 5 -- .../repo/.git_keep/logs/refs/heads/master | 4 - .../06/da465196938ea235323950ee451ffb36a431cf | Bin 148 -> 0 bytes .../08/04f2069f5af172770da3d231be982ca320bf8b | Bin 145 -> 0 bytes .../0c/2aa38e0600e0d2df09c2f84664d8a14f899879 | Bin 36 -> 0 bytes .../18/0cf8328022becee9aaa2577a8f84ea2b9f3827 | Bin 21 -> 0 bytes .../1b/74d64fe4055d4502ac600072586068b27d4aa7 | 3 - .../1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 | Bin 50 -> 0 bytes .../2d/00bd505971a8bc7318d98e003aee708a367c85 | Bin 24 -> 0 bytes .../38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da | Bin 21 -> 0 bytes .../3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a | Bin 31 -> 0 bytes .../3d/b2086f780b1cf632eec29111ef395913a8ab2b | Bin 127 -> 0 bytes .../59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 | Bin 126 -> 0 bytes .../6d/04f5ed53b383c0a4c63cac168df557b6df1e44 | Bin 147 -> 0 bytes .../7b/f3d13079ced18f5b00e29c48c777e23f687d0a | Bin 118 -> 0 bytes .../8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 | Bin 127 -> 0 bytes .../9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c | Bin 101 -> 0 bytes .../a1/1d868e88adb55a48fc55ee1377b3255c0cd329 | Bin 148 -> 0 bytes .../a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 | Bin 21 -> 0 bytes .../c6/756882cc166f52b096a5e4fb9e4f5d507870c8 | Bin 146 -> 0 bytes .../d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 | 2 - .../e5/c5c5583f49a34e86ce622b59363df99e09d4c6 | Bin 30 -> 0 bytes .../e7/76522ac28860d2eba6fe98fa4fad67e798419a | Bin 127 -> 0 bytes .../e8/76c3dfe2826621bea1bd3c87c2b9e2be88e69e | Bin 147 -> 0 bytes .../repo/.git_keep/refs/heads/branch2 | 1 - .../expected/repo/.git_keep/refs/heads/master | 1 - test/integration/diffing2/expected/repo/file0 | 1 - test/integration/diffing2/expected/repo/file1 | 1 - test/integration/diffing2/expected/repo/file2 | 1 - test/integration/diffing2/expected/repo/file4 | 1 - test/integration/diffing2/recording.json | 1 - test/integration/diffing2/setup.sh | 40 ---------- test/integration/diffing2/test.json | 1 - .../expected/repo/.git_keep/COMMIT_EDITMSG | 1 - .../expected/repo/.git_keep/FETCH_HEAD | 0 .../diffing3/expected/repo/.git_keep/HEAD | 1 - .../diffing3/expected/repo/.git_keep/config | 10 --- .../expected/repo/.git_keep/description | 1 - .../diffing3/expected/repo/.git_keep/index | Bin 281 -> 0 bytes .../expected/repo/.git_keep/info/exclude | 7 -- .../expected/repo/.git_keep/logs/HEAD | 9 --- .../repo/.git_keep/logs/refs/heads/branch2 | 5 -- .../repo/.git_keep/logs/refs/heads/master | 4 - .../0c/2aa38e0600e0d2df09c2f84664d8a14f899879 | Bin 36 -> 0 bytes .../13/d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 | 2 - .../18/0cf8328022becee9aaa2577a8f84ea2b9f3827 | Bin 21 -> 0 bytes .../1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 | Bin 50 -> 0 bytes .../1e/dd26fd03ee6243bd1513788874c6c57ef1d41a | 2 - .../27/5e6a821120c07a9068a9701ed14a82eeed3117 | 2 - .../2d/00bd505971a8bc7318d98e003aee708a367c85 | Bin 24 -> 0 bytes .../38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da | Bin 21 -> 0 bytes .../3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a | Bin 31 -> 0 bytes .../3d/b2086f780b1cf632eec29111ef395913a8ab2b | Bin 127 -> 0 bytes .../4e/2d07409901af28a47f5d3b126953a5fb8b36ee | 3 - .../57/695899c35539821690c4c132bd0e872a01c192 | Bin 147 -> 0 bytes .../59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 | Bin 126 -> 0 bytes .../8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 | Bin 127 -> 0 bytes .../93/b73046d6820607f1da09399b55a145d5389ab8 | Bin 146 -> 0 bytes .../9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c | Bin 101 -> 0 bytes .../a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 | Bin 21 -> 0 bytes .../b2/5b8446022fb5fcded2bab1ed2b02828a5c4d0b | Bin 148 -> 0 bytes .../d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 | 2 - .../e5/c5c5583f49a34e86ce622b59363df99e09d4c6 | Bin 30 -> 0 bytes .../e7/76522ac28860d2eba6fe98fa4fad67e798419a | Bin 127 -> 0 bytes .../ff/b13702e6bc59e2806bc3a5f93500e46925b131 | Bin 147 -> 0 bytes .../repo/.git_keep/refs/heads/branch2 | 1 - .../expected/repo/.git_keep/refs/heads/master | 1 - test/integration/diffing3/expected/repo/file0 | 1 - test/integration/diffing3/expected/repo/file1 | 1 - test/integration/diffing3/expected/repo/file2 | 1 - test/integration/diffing3/recording.json | 1 - test/integration/diffing3/setup.sh | 40 ---------- test/integration/diffing3/test.json | 1 - 127 files changed, 203 insertions(+), 282 deletions(-) create mode 100644 pkg/integration/tests/diff/diff.go create mode 100644 pkg/integration/tests/diff/diff_and_apply_patch.go create mode 100644 pkg/integration/tests/diff/diff_commits.go delete mode 100644 test/integration/diffing/expected/repo/.git_keep/COMMIT_EDITMSG delete mode 100644 test/integration/diffing/expected/repo/.git_keep/FETCH_HEAD delete mode 100644 test/integration/diffing/expected/repo/.git_keep/HEAD delete mode 100644 test/integration/diffing/expected/repo/.git_keep/config delete mode 100644 test/integration/diffing/expected/repo/.git_keep/description delete mode 100644 test/integration/diffing/expected/repo/.git_keep/index delete mode 100644 test/integration/diffing/expected/repo/.git_keep/info/exclude delete mode 100644 test/integration/diffing/expected/repo/.git_keep/logs/HEAD delete mode 100644 test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/branch2 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/master delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/05/19814b4923f4639f1a47348b1539e3c5c54904 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/14/4da8a531224129210249f43dded86056891506 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/3d/b2086f780b1cf632eec29111ef395913a8ab2b delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/57/51731b38a36f8eb54a4bb304522ca539e04522 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/75/b31f81dd4387724638dbd3aff7380155c672cd delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/96/a6d041bbb131df0e74d179c3adcd2ace0e7f9c delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/a1/00b407f33fd2e97a3cb6f62b68ed6b7cc6c676 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/d1/5e253139400c94b42fc266641d1698720d4ecf delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a delete mode 100644 test/integration/diffing/expected/repo/.git_keep/objects/f6/77ef8a14ca2770e48129cc13acfa1c369908cc delete mode 100644 test/integration/diffing/expected/repo/.git_keep/refs/heads/branch2 delete mode 100644 test/integration/diffing/expected/repo/.git_keep/refs/heads/master delete mode 100644 test/integration/diffing/expected/repo/file0 delete mode 100644 test/integration/diffing/expected/repo/file1 delete mode 100644 test/integration/diffing/expected/repo/file2 delete mode 100644 test/integration/diffing/expected/repo/file4 delete mode 100644 test/integration/diffing/recording.json delete mode 100644 test/integration/diffing/setup.sh delete mode 100644 test/integration/diffing/test.json delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/COMMIT_EDITMSG delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/FETCH_HEAD delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/HEAD delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/config delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/description delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/index delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/info/exclude delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/logs/HEAD delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/branch2 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/master delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/06/da465196938ea235323950ee451ffb36a431cf delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/08/04f2069f5af172770da3d231be982ca320bf8b delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/1b/74d64fe4055d4502ac600072586068b27d4aa7 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/3d/b2086f780b1cf632eec29111ef395913a8ab2b delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/6d/04f5ed53b383c0a4c63cac168df557b6df1e44 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/7b/f3d13079ced18f5b00e29c48c777e23f687d0a delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/a1/1d868e88adb55a48fc55ee1377b3255c0cd329 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/c6/756882cc166f52b096a5e4fb9e4f5d507870c8 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/objects/e8/76c3dfe2826621bea1bd3c87c2b9e2be88e69e delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/refs/heads/branch2 delete mode 100644 test/integration/diffing2/expected/repo/.git_keep/refs/heads/master delete mode 100644 test/integration/diffing2/expected/repo/file0 delete mode 100644 test/integration/diffing2/expected/repo/file1 delete mode 100644 test/integration/diffing2/expected/repo/file2 delete mode 100644 test/integration/diffing2/expected/repo/file4 delete mode 100644 test/integration/diffing2/recording.json delete mode 100644 test/integration/diffing2/setup.sh delete mode 100644 test/integration/diffing2/test.json delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/COMMIT_EDITMSG delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/FETCH_HEAD delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/HEAD delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/config delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/description delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/index delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/info/exclude delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/logs/HEAD delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/branch2 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/master delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/13/d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/1e/dd26fd03ee6243bd1513788874c6c57ef1d41a delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/27/5e6a821120c07a9068a9701ed14a82eeed3117 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/3d/b2086f780b1cf632eec29111ef395913a8ab2b delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/4e/2d07409901af28a47f5d3b126953a5fb8b36ee delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/57/695899c35539821690c4c132bd0e872a01c192 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/93/b73046d6820607f1da09399b55a145d5389ab8 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/b2/5b8446022fb5fcded2bab1ed2b02828a5c4d0b delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/objects/ff/b13702e6bc59e2806bc3a5f93500e46925b131 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/refs/heads/branch2 delete mode 100644 test/integration/diffing3/expected/repo/.git_keep/refs/heads/master delete mode 100644 test/integration/diffing3/expected/repo/file0 delete mode 100644 test/integration/diffing3/expected/repo/file1 delete mode 100644 test/integration/diffing3/expected/repo/file2 delete mode 100644 test/integration/diffing3/recording.json delete mode 100644 test/integration/diffing3/setup.sh delete mode 100644 test/integration/diffing3/test.json diff --git a/pkg/integration/components/assert.go b/pkg/integration/components/assert.go index 65e3e6ec9..c1ae4cdd2 100644 --- a/pkg/integration/components/assert.go +++ b/pkg/integration/components/assert.go @@ -192,6 +192,13 @@ func (self *Assert) InMenu() { }) } +func (self *Assert) NotInPopup() { + self.assertWithRetries(func() (bool, string) { + currentViewName := self.gui.CurrentContext().GetView().Name() + return currentViewName != "menu" && currentViewName != "confirmation" && currentViewName != "commitMessage", "Expected popup not to be focused" + }) +} + func (self *Assert) MatchCurrentViewTitle(matcher *matcher) { self.matchString(matcher, "Unexpected current view title.", func() string { diff --git a/pkg/integration/tests/diff/diff.go b/pkg/integration/tests/diff/diff.go new file mode 100644 index 000000000..9c23674a4 --- /dev/null +++ b/pkg/integration/tests/diff/diff.go @@ -0,0 +1,62 @@ +package diff + +import ( + "github.com/jesseduffield/lazygit/pkg/config" + . "github.com/jesseduffield/lazygit/pkg/integration/components" +) + +var Diff = NewIntegrationTest(NewIntegrationTestArgs{ + Description: "View the diff of two branches, then view the reverse diff", + ExtraCmdArgs: "", + Skip: false, + SetupConfig: func(config *config.AppConfig) {}, + SetupRepo: func(shell *Shell) { + shell.NewBranch("branch-a") + shell.CreateFileAndAdd("file1", "first line") + shell.Commit("first commit") + + shell.NewBranch("branch-b") + shell.UpdateFileAndAdd("file1", "first line\nsecond line") + shell.Commit("update") + + shell.Checkout("branch-a") + }, + Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) { + input.SwitchToBranchesWindow() + assert.CurrentViewName("localBranches") + + assert.MatchSelectedLine(Contains("branch-a")) + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + assert.MatchCurrentViewTitle(Equals("Diffing")) + assert.MatchSelectedLine(Contains("diff branch-a")) + input.Confirm() + + assert.CurrentViewName("localBranches") + + assert.MatchViewContent("information", Contains("showing output for: git diff branch-a branch-a")) + input.NextItem() + assert.MatchViewContent("information", Contains("showing output for: git diff branch-a branch-b")) + assert.MatchMainViewContent(Contains("+second line")) + + input.Enter() + assert.CurrentViewName("subCommits") + assert.MatchMainViewContent(Contains("+second line")) + assert.MatchSelectedLine(Contains("update")) + input.Enter() + assert.CurrentViewName("commitFiles") + assert.MatchSelectedLine(Contains("file1")) + assert.MatchMainViewContent(Contains("+second line")) + + input.PressKeys(keys.Universal.Return) + input.PressKeys(keys.Universal.Return) + assert.CurrentViewName("localBranches") + + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + input.NavigateToListItemContainingText("reverse diff direction") + input.Confirm() + assert.MatchViewContent("information", Contains("showing output for: git diff branch-a branch-b -R")) + assert.MatchMainViewContent(Contains("-second line")) + }, +}) diff --git a/pkg/integration/tests/diff/diff_and_apply_patch.go b/pkg/integration/tests/diff/diff_and_apply_patch.go new file mode 100644 index 000000000..7c27b1517 --- /dev/null +++ b/pkg/integration/tests/diff/diff_and_apply_patch.go @@ -0,0 +1,74 @@ +package diff + +import ( + "github.com/jesseduffield/lazygit/pkg/config" + . "github.com/jesseduffield/lazygit/pkg/integration/components" +) + +var DiffAndApplyPatch = NewIntegrationTest(NewIntegrationTestArgs{ + Description: "Create a patch from the diff between two branches and apply the patch.", + ExtraCmdArgs: "", + Skip: false, + SetupConfig: func(config *config.AppConfig) {}, + SetupRepo: func(shell *Shell) { + shell.NewBranch("branch-a") + shell.CreateFileAndAdd("file1", "first line\n") + shell.Commit("first commit") + + shell.NewBranch("branch-b") + shell.UpdateFileAndAdd("file1", "first line\nsecond line\n") + shell.Commit("update") + + shell.Checkout("branch-a") + }, + Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) { + input.SwitchToBranchesWindow() + assert.CurrentViewName("localBranches") + + assert.MatchSelectedLine(Contains("branch-a")) + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + assert.MatchCurrentViewTitle(Equals("Diffing")) + assert.MatchSelectedLine(Contains("diff branch-a")) + input.Confirm() + + assert.CurrentViewName("localBranches") + + assert.MatchViewContent("information", Contains("showing output for: git diff branch-a branch-a")) + input.NextItem() + assert.MatchViewContent("information", Contains("showing output for: git diff branch-a branch-b")) + assert.MatchMainViewContent(Contains("+second line")) + + input.Enter() + assert.CurrentViewName("subCommits") + assert.MatchMainViewContent(Contains("+second line")) + assert.MatchSelectedLine(Contains("update")) + input.Enter() + assert.CurrentViewName("commitFiles") + assert.MatchSelectedLine(Contains("file1")) + assert.MatchMainViewContent(Contains("+second line")) + + // add the file to the patch + input.PrimaryAction() + + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + assert.MatchCurrentViewTitle(Equals("Diffing")) + input.NavigateToListItemContainingText("exit diff mode") + input.Confirm() + + assert.MatchViewContent("information", NotContains("building patch")) + + input.PressKeys(keys.Universal.CreatePatchOptionsMenu) + assert.InMenu() + assert.MatchCurrentViewTitle(Equals("Patch Options")) + // including the keybinding 'a' here to distinguish the menu item from the 'apply patch in reverse' item + input.NavigateToListItemContainingText("a apply patch") + input.Confirm() + + input.SwitchToFilesWindow() + + assert.MatchSelectedLine(Contains("file1")) + assert.MatchMainViewContent(Contains("+second line")) + }, +}) diff --git a/pkg/integration/tests/diff/diff_commits.go b/pkg/integration/tests/diff/diff_commits.go new file mode 100644 index 000000000..bcf83d5c5 --- /dev/null +++ b/pkg/integration/tests/diff/diff_commits.go @@ -0,0 +1,56 @@ +package diff + +import ( + "github.com/jesseduffield/lazygit/pkg/config" + . "github.com/jesseduffield/lazygit/pkg/integration/components" +) + +var DiffCommits = NewIntegrationTest(NewIntegrationTestArgs{ + Description: "View the diff between two commits", + ExtraCmdArgs: "", + Skip: false, + SetupConfig: func(config *config.AppConfig) {}, + SetupRepo: func(shell *Shell) { + shell.CreateFileAndAdd("file1", "first line\n") + shell.Commit("first commit") + shell.UpdateFileAndAdd("file1", "first line\nsecond line\n") + shell.Commit("second commit") + shell.UpdateFileAndAdd("file1", "first line\nsecond line\nthird line\n") + shell.Commit("third commit") + }, + Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) { + input.SwitchToCommitsWindow() + assert.CurrentViewName("commits") + + assert.MatchSelectedLine(Contains("third commit")) + + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + assert.MatchCurrentViewTitle(Equals("Diffing")) + assert.MatchSelectedLine(Contains("diff")) + input.Confirm() + assert.NotInPopup() + + assert.MatchViewContent("information", Contains("showing output for: git diff")) + + input.NextItem() + input.NextItem() + + assert.MatchSelectedLine(Contains("first commit")) + + assert.MatchMainViewContent(Contains("-second line\n-third line")) + + input.PressKeys(keys.Universal.DiffingMenu) + assert.InMenu() + input.NavigateToListItemContainingText("reverse diff direction") + input.Confirm() + + assert.MatchMainViewContent(Contains("+second line\n+third line")) + + input.Enter() + + assert.CurrentViewName("commitFiles") + assert.MatchSelectedLine(Contains("file1")) + assert.MatchMainViewContent(Contains("+second line\n+third line")) + }, +}) diff --git a/pkg/integration/tests/tests.go b/pkg/integration/tests/tests.go index 3feeb2d81..53961363e 100644 --- a/pkg/integration/tests/tests.go +++ b/pkg/integration/tests/tests.go @@ -16,6 +16,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/integration/tests/commit" "github.com/jesseduffield/lazygit/pkg/integration/tests/config" "github.com/jesseduffield/lazygit/pkg/integration/tests/custom_commands" + "github.com/jesseduffield/lazygit/pkg/integration/tests/diff" "github.com/jesseduffield/lazygit/pkg/integration/tests/file" "github.com/jesseduffield/lazygit/pkg/integration/tests/interactive_rebase" "github.com/jesseduffield/lazygit/pkg/integration/tests/misc" @@ -57,6 +58,9 @@ var tests = []*components.IntegrationTest{ stash.Stash, stash.StashIncludingUntrackedFiles, config.RemoteNamedStar, + diff.Diff, + diff.DiffAndApplyPatch, + diff.DiffCommits, } func GetTests() []*components.IntegrationTest { diff --git a/test/integration/diffing/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration/diffing/expected/repo/.git_keep/COMMIT_EDITMSG deleted file mode 100644 index 9daeafb98..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -test diff --git a/test/integration/diffing/expected/repo/.git_keep/FETCH_HEAD b/test/integration/diffing/expected/repo/.git_keep/FETCH_HEAD deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/integration/diffing/expected/repo/.git_keep/HEAD b/test/integration/diffing/expected/repo/.git_keep/HEAD deleted file mode 100644 index 1d57c9ea7..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/branch2 diff --git a/test/integration/diffing/expected/repo/.git_keep/config b/test/integration/diffing/expected/repo/.git_keep/config deleted file mode 100644 index 8ae104545..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/config +++ /dev/null @@ -1,10 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true -[user] - email = CI@example.com - name = CI diff --git a/test/integration/diffing/expected/repo/.git_keep/description b/test/integration/diffing/expected/repo/.git_keep/description deleted file mode 100644 index 498b267a8..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/diffing/expected/repo/.git_keep/index b/test/integration/diffing/expected/repo/.git_keep/index deleted file mode 100644 index a119ab59ee46d59891bff4962a564b195906f617..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 353 zcmZ?q402{*U|<4bmW1pZ8_YL){DaYqKruEw_G$)(#w834j9-CjM1YvhLd5FIf`3}u z-UT0e-?{YWqrFp2Z!xf@W#*(B0HqliK>96?tyu@7q2^3NH)rXd$A48*Z+wXejpE67 zx)9*i(tQsP9lYru^?~MqX^1%-Ea>J)@cb}pP}+Cy<*G&DRsAimwC7u>L(DNk zm~*7J6KoEUhML2UW)7z=!`^_%!WDapC2saHSiLLgGOKBYm}3GqCnU(#708feFi|kz vid^t!#>1AH<+_KXt9I=0530`k)L>I9yW-f>1!X5E@!Wq~a diff --git a/test/integration/diffing/expected/repo/.git_keep/info/exclude b/test/integration/diffing/expected/repo/.git_keep/info/exclude deleted file mode 100644 index 8e9f2071f..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/info/exclude +++ /dev/null @@ -1,7 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ -.DS_Store diff --git a/test/integration/diffing/expected/repo/.git_keep/logs/HEAD b/test/integration/diffing/expected/repo/.git_keep/logs/HEAD deleted file mode 100644 index 6d2ab7ba5..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/logs/HEAD +++ /dev/null @@ -1,9 +0,0 @@ -0000000000000000000000000000000000000000 5751731b38a36f8eb54a4bb304522ca539e04522 CI 1617680560 +1000 commit (initial): file0 -5751731b38a36f8eb54a4bb304522ca539e04522 d15e253139400c94b42fc266641d1698720d4ecf CI 1617680560 +1000 commit: file1 -d15e253139400c94b42fc266641d1698720d4ecf 0519814b4923f4639f1a47348b1539e3c5c54904 CI 1617680560 +1000 commit: file2 -0519814b4923f4639f1a47348b1539e3c5c54904 144da8a531224129210249f43dded86056891506 CI 1617680561 +1000 commit: file4 -144da8a531224129210249f43dded86056891506 144da8a531224129210249f43dded86056891506 CI 1617680561 +1000 checkout: moving from master to branch2 -144da8a531224129210249f43dded86056891506 96a6d041bbb131df0e74d179c3adcd2ace0e7f9c CI 1617680561 +1000 commit: file4 -96a6d041bbb131df0e74d179c3adcd2ace0e7f9c 75b31f81dd4387724638dbd3aff7380155c672cd CI 1617680561 +1000 commit: file4 -75b31f81dd4387724638dbd3aff7380155c672cd f677ef8a14ca2770e48129cc13acfa1c369908cc CI 1617680561 +1000 commit: file2 -f677ef8a14ca2770e48129cc13acfa1c369908cc a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676 CI 1617680570 +1000 commit: test diff --git a/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/branch2 b/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/branch2 deleted file mode 100644 index ea8f0f0b7..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/branch2 +++ /dev/null @@ -1,5 +0,0 @@ -0000000000000000000000000000000000000000 144da8a531224129210249f43dded86056891506 CI 1617680561 +1000 branch: Created from HEAD -144da8a531224129210249f43dded86056891506 96a6d041bbb131df0e74d179c3adcd2ace0e7f9c CI 1617680561 +1000 commit: file4 -96a6d041bbb131df0e74d179c3adcd2ace0e7f9c 75b31f81dd4387724638dbd3aff7380155c672cd CI 1617680561 +1000 commit: file4 -75b31f81dd4387724638dbd3aff7380155c672cd f677ef8a14ca2770e48129cc13acfa1c369908cc CI 1617680561 +1000 commit: file2 -f677ef8a14ca2770e48129cc13acfa1c369908cc a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676 CI 1617680570 +1000 commit: test diff --git a/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/master b/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/master deleted file mode 100644 index 7427bd7e9..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/logs/refs/heads/master +++ /dev/null @@ -1,4 +0,0 @@ -0000000000000000000000000000000000000000 5751731b38a36f8eb54a4bb304522ca539e04522 CI 1617680560 +1000 commit (initial): file0 -5751731b38a36f8eb54a4bb304522ca539e04522 d15e253139400c94b42fc266641d1698720d4ecf CI 1617680560 +1000 commit: file1 -d15e253139400c94b42fc266641d1698720d4ecf 0519814b4923f4639f1a47348b1539e3c5c54904 CI 1617680560 +1000 commit: file2 -0519814b4923f4639f1a47348b1539e3c5c54904 144da8a531224129210249f43dded86056891506 CI 1617680561 +1000 commit: file4 diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/05/19814b4923f4639f1a47348b1539e3c5c54904 b/test/integration/diffing/expected/repo/.git_keep/objects/05/19814b4923f4639f1a47348b1539e3c5c54904 deleted file mode 100644 index dc7f756ddc38b7d90d284efef86797087b88c273..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brww0gaAJ3c@fDKwak)*$Xl=&1V84LRURTI+C5hnTAz@J+73HT_C8Ke{pPl>dXud^EQT}B-~-qz0)RQ`Io0(~-PC1OGCycOIW+cn BLk<7{ diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 b/test/integration/diffing/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 deleted file mode 100644 index 38acaeff2c4712a28ba59b99a0ddd33f70433acf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36 ucmV+<0Nej~0ZYosPf{?lWXQ?POI66vOXUJHO3L%0jEthxR4xGKxeQfIM-lJ< diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/14/4da8a531224129210249f43dded86056891506 b/test/integration/diffing/expected/repo/.git_keep/objects/14/4da8a531224129210249f43dded86056891506 deleted file mode 100644 index f0e0252c6..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/objects/14/4da8a531224129210249f43dded86056891506 +++ /dev/null @@ -1,2 +0,0 @@ -xA -0@Q9EdI2"BW=$N`l)<=[ OcWieR UKBEKəMv}"0d s@*kFdF>vuR~ 'r1=s'7my)8N \ No newline at end of file diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 b/test/integration/diffing/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 deleted file mode 100644 index f74bf2335bbc5999ad0faff94fb04165d8ab5c7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 ccmb~ZE#08nZNMgRZ+ diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 b/test/integration/diffing/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 deleted file mode 100644 index 79fcadf67fdecb0f0cffca7ff27b2ae5c031e4d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 zcmV-20L}k+0V^p=O;s>9W-v4`Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U I033l4YT~68jQ{`u diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 b/test/integration/diffing/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 deleted file mode 100644 index d4270c258e5362e874f0cd17fc6c260a82c41501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmb|y2)08mZ`J^%m! diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a b/test/integration/diffing/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a deleted file mode 100644 index 65140e8b7c0189f1a7f6fc780332ce07230ba16e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31 ncmb7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKH+(OTTc#_-_Mea=Ha+){2V^zWQe2>@J}IUIERJ#_#8 diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/57/51731b38a36f8eb54a4bb304522ca539e04522 b/test/integration/diffing/expected/repo/.git_keep/objects/57/51731b38a36f8eb54a4bb304522ca539e04522 deleted file mode 100644 index 802ec41550f19832979198dd97dff75c50723467..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmV-+0Ez#20gcT;3c@fDMq$@E#q0%{iPNM35uvLdBWeC%p&_M2@c8x!ZXX}KrPaE2 z64gsT0218cdrapK*` YgJZf1Gn=!Xla4>RDeDF{Kid;4>cEOP`v3p{ diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 b/test/integration/diffing/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 deleted file mode 100644 index ed50454974ab7775c9d85cee55477580ac83e835..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmV-^0D=E_0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F gDKKHsW!M`KS-4_PvBb?j2CH`kU1l|{09GbA0`7u1ssI20 diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/75/b31f81dd4387724638dbd3aff7380155c672cd b/test/integration/diffing/expected/repo/.git_keep/objects/75/b31f81dd4387724638dbd3aff7380155c672cd deleted file mode 100644 index e14a460c2804693555c093df93c7823ef6f7b6ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmV;F0Biqv0gcX03c@fDKw;N8#q0%{N!t8?h|pD!F_}!T(AZKUczk;Vw;yluWNU5d zK*?VEp$e{Ki_zB*F_Tp9tg6^VL|R=M6FH8YZ8kd}`tFcC`+@`IoXJtCs9`7+k~l6> zEQ_8}lNkQ=*LJ`(!+n~c`sKE-dXud^fII~sar6XNLPT@wIo0*g+|*^&!TbQW`Z_fF CElPC& diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 b/test/integration/diffing/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 deleted file mode 100644 index 2920ab335181ed440a54f52297d3cb1ab3a70222..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmV-_0D%8^0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKGpdh}?7z2{=TwsT3^k!H3(=W$*+1^{g9Id)YJJaPa4 diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/96/a6d041bbb131df0e74d179c3adcd2ace0e7f9c b/test/integration/diffing/expected/repo/.git_keep/objects/96/a6d041bbb131df0e74d179c3adcd2ace0e7f9c deleted file mode 100644 index 5f97ec479b939f37ff848f632b4e9524a6c93cd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmV;D0B!$x0gaA93d0}}0DJZo-V4QDchx{Cg`Dz?jc#ZlHX&H(^Xn6O9cEziUhCQ{ z40vg$s!d9HcDZmUG4U)!gu*jAjiOwXMZJ&c%^|10dq`9y341^!zyZM_4GZ~Fw4~rT zqyg9kBcJx#PdiTbK2A^lNw9bEeZi)$~u@EbFFZe*DQeS+#~k AX8-^I diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c b/test/integration/diffing/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c deleted file mode 100644 index 0e95eb06dda15fe1901a7942e7954b700b36bfa9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 101 zcmV-r0Gj`J0V^p=O;xb8WH2-^Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U zND2%YmhO4{S2gv2WLwJR>kD diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/a1/00b407f33fd2e97a3cb6f62b68ed6b7cc6c676 b/test/integration/diffing/expected/repo/.git_keep/objects/a1/00b407f33fd2e97a3cb6f62b68ed6b7cc6c676 deleted file mode 100644 index 8c6e41957e9f9a187abe5fecf98f3cd6ea2da35a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmV;D0B!$x0gcW<3c@fDKvCB@MfQTsq)BE1B0^U^#$=qJU~Q=pJia}G+s|8kUFP}G zJr+Fl&CI7FU|QIaBdJih>5wW(<;t<8Ks8GX3~rUpUfs7$WQ_%*N+1G@jG?IFAld|V z$fW?QI{EbbviWiH=W)8)SLXF;Ctc=?$BdL25`jM=0Jy#GQ{DdLuG_o2A7m>zv>e?@ A{{R30 diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/diffing/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 deleted file mode 100644 index 285df3e5fbab12262e28d85e78af8a31cd0024c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 ccmb`~^A08nuUMF0Q* diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 b/test/integration/diffing/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 deleted file mode 100644 index 2e9066287..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 +++ /dev/null @@ -1,2 +0,0 @@ -x+)JMU03c040031QHI5`ֶww.hT[H - yW5Ɨ(| ^-W(x9 \ No newline at end of file diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/d1/5e253139400c94b42fc266641d1698720d4ecf b/test/integration/diffing/expected/repo/.git_keep/objects/d1/5e253139400c94b42fc266641d1698720d4ecf deleted file mode 100644 index e6f554e7f..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/objects/d1/5e253139400c94b42fc266641d1698720d4ecf +++ /dev/null @@ -1,2 +0,0 @@ -xK -0@)f_(3Rp1&HSER+=Aw[ @Qqe%x8Z=a|Mzb!"\ iϩf^V%Hr8 \ No newline at end of file diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 b/test/integration/diffing/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 deleted file mode 100644 index 01ce23cee261a5c479d905ee8318e897bf4bca8f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30 mcmb~-q%PKJUL9GL*(lMbH% diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a b/test/integration/diffing/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a deleted file mode 100644 index 08edf28f3f282798a9dd14ae1222a66d0c4a783a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmV-_0D%8^0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%^C{T5hys-jyt=kDGjX{j7V6OEbKX h6qqpZXf5tzV|Z}sKIfqyZYehw`ghK#1OQ99IE)E{Iurl^ diff --git a/test/integration/diffing/expected/repo/.git_keep/objects/f6/77ef8a14ca2770e48129cc13acfa1c369908cc b/test/integration/diffing/expected/repo/.git_keep/objects/f6/77ef8a14ca2770e48129cc13acfa1c369908cc deleted file mode 100644 index 1380ed286..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/objects/f6/77ef8a14ca2770e48129cc13acfa1c369908cc +++ /dev/null @@ -1,3 +0,0 @@ -xM -0@a9Ed33cLR"x|{o- UD`Ձ*Ii]}wKiPJ|e.AjRH>#;N>NOJW=, K -9sseUo~b,9O \ No newline at end of file diff --git a/test/integration/diffing/expected/repo/.git_keep/refs/heads/branch2 b/test/integration/diffing/expected/repo/.git_keep/refs/heads/branch2 deleted file mode 100644 index dcc322cf6..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/refs/heads/branch2 +++ /dev/null @@ -1 +0,0 @@ -a100b407f33fd2e97a3cb6f62b68ed6b7cc6c676 diff --git a/test/integration/diffing/expected/repo/.git_keep/refs/heads/master b/test/integration/diffing/expected/repo/.git_keep/refs/heads/master deleted file mode 100644 index bb48ea2cc..000000000 --- a/test/integration/diffing/expected/repo/.git_keep/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -144da8a531224129210249f43dded86056891506 diff --git a/test/integration/diffing/expected/repo/file0 b/test/integration/diffing/expected/repo/file0 deleted file mode 100644 index 38143ad4a..000000000 --- a/test/integration/diffing/expected/repo/file0 +++ /dev/null @@ -1 +0,0 @@ -test0 diff --git a/test/integration/diffing/expected/repo/file1 b/test/integration/diffing/expected/repo/file1 deleted file mode 100644 index a5bce3fd2..000000000 --- a/test/integration/diffing/expected/repo/file1 +++ /dev/null @@ -1 +0,0 @@ -test1 diff --git a/test/integration/diffing/expected/repo/file2 b/test/integration/diffing/expected/repo/file2 deleted file mode 100644 index 180cf8328..000000000 --- a/test/integration/diffing/expected/repo/file2 +++ /dev/null @@ -1 +0,0 @@ -test2 diff --git a/test/integration/diffing/expected/repo/file4 b/test/integration/diffing/expected/repo/file4 deleted file mode 100644 index 2d00bd505..000000000 --- a/test/integration/diffing/expected/repo/file4 +++ /dev/null @@ -1 +0,0 @@ -line one diff --git a/test/integration/diffing/recording.json b/test/integration/diffing/recording.json deleted file mode 100644 index e3e075780..000000000 --- a/test/integration/diffing/recording.json +++ /dev/null @@ -1 +0,0 @@ -{"KeyEvents":[{"Timestamp":497,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1570,"Mod":0,"Key":256,"Ch":87},{"Timestamp":1882,"Mod":0,"Key":13,"Ch":13},{"Timestamp":2258,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2514,"Mod":0,"Key":13,"Ch":13},{"Timestamp":3602,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5057,"Mod":0,"Key":256,"Ch":32},{"Timestamp":5250,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5410,"Mod":0,"Key":256,"Ch":32},{"Timestamp":6010,"Mod":2,"Key":16,"Ch":16},{"Timestamp":6730,"Mod":0,"Key":258,"Ch":0},{"Timestamp":7106,"Mod":0,"Key":13,"Ch":13},{"Timestamp":8090,"Mod":0,"Key":260,"Ch":0},{"Timestamp":8330,"Mod":0,"Key":256,"Ch":99},{"Timestamp":8545,"Mod":0,"Key":256,"Ch":116},{"Timestamp":8601,"Mod":0,"Key":256,"Ch":101},{"Timestamp":8778,"Mod":0,"Key":256,"Ch":115},{"Timestamp":8809,"Mod":0,"Key":256,"Ch":116},{"Timestamp":9074,"Mod":0,"Key":13,"Ch":13},{"Timestamp":9722,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]} \ No newline at end of file diff --git a/test/integration/diffing/setup.sh b/test/integration/diffing/setup.sh deleted file mode 100644 index 4cd444a1f..000000000 --- a/test/integration/diffing/setup.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -set -e - -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 "line one" > file4 -git add . -git commit -am file4 - -git checkout -b branch2 - -echo "line two" >> file4 -git add . -git commit -am file4 - -echo "line three" >> file4 -git add . -git commit -am file4 - -echo "line two" >> file2 -git add . -git commit -am file2 diff --git a/test/integration/diffing/test.json b/test/integration/diffing/test.json deleted file mode 100644 index 8ffc90df2..000000000 --- a/test/integration/diffing/test.json +++ /dev/null @@ -1 +0,0 @@ -{ "description": "diffing two branches and making a patch from their diff files", "speed": 10 } diff --git a/test/integration/diffing2/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration/diffing2/expected/repo/.git_keep/COMMIT_EDITMSG deleted file mode 100644 index d72af3146..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -asd diff --git a/test/integration/diffing2/expected/repo/.git_keep/FETCH_HEAD b/test/integration/diffing2/expected/repo/.git_keep/FETCH_HEAD deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/integration/diffing2/expected/repo/.git_keep/HEAD b/test/integration/diffing2/expected/repo/.git_keep/HEAD deleted file mode 100644 index 1d57c9ea7..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/branch2 diff --git a/test/integration/diffing2/expected/repo/.git_keep/config b/test/integration/diffing2/expected/repo/.git_keep/config deleted file mode 100644 index 8ae104545..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/config +++ /dev/null @@ -1,10 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true -[user] - email = CI@example.com - name = CI diff --git a/test/integration/diffing2/expected/repo/.git_keep/description b/test/integration/diffing2/expected/repo/.git_keep/description deleted file mode 100644 index 498b267a8..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/diffing2/expected/repo/.git_keep/index b/test/integration/diffing2/expected/repo/.git_keep/index deleted file mode 100644 index f8944878d5ee77536fd35c0bbaff0b52cb81b43d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 353 zcmZ?q402{*U|<4bmW1q^+|r-atY9=FP>fBFuZMx5aR~zh<5!>>5g=x>5V5+l;GfpE zcfp6=cP_p8Xzx_hTMVpenK`KjKxqaBkbYUg*~~B+YR+PGbC<{8u&g#+QiDD4u+$ z3jtm&-B%&z7{bgEF=ZFJ1~dmuL(JiqKsQH%=Z8^)(!O&qS1k&!>Th|aJ>NndVvZ5Q zoC3jjU~_;p)EsFvb2xPw_69^2uGmv7akG!X>RmyXSxqa%922lPAwjOLK!zlPiGl%F v 1617680651 +1000 commit (initial): file0 -7bf3d13079ced18f5b00e29c48c777e23f687d0a e876c3dfe2826621bea1bd3c87c2b9e2be88e69e CI 1617680651 +1000 commit: file1 -e876c3dfe2826621bea1bd3c87c2b9e2be88e69e c6756882cc166f52b096a5e4fb9e4f5d507870c8 CI 1617680651 +1000 commit: file2 -c6756882cc166f52b096a5e4fb9e4f5d507870c8 06da465196938ea235323950ee451ffb36a431cf CI 1617680651 +1000 commit: file4 -06da465196938ea235323950ee451ffb36a431cf 06da465196938ea235323950ee451ffb36a431cf CI 1617680651 +1000 checkout: moving from master to branch2 -06da465196938ea235323950ee451ffb36a431cf 6d04f5ed53b383c0a4c63cac168df557b6df1e44 CI 1617680651 +1000 commit: file4 -6d04f5ed53b383c0a4c63cac168df557b6df1e44 a11d868e88adb55a48fc55ee1377b3255c0cd329 CI 1617680651 +1000 commit: file4 -a11d868e88adb55a48fc55ee1377b3255c0cd329 1b74d64fe4055d4502ac600072586068b27d4aa7 CI 1617680651 +1000 commit: file2 -1b74d64fe4055d4502ac600072586068b27d4aa7 0804f2069f5af172770da3d231be982ca320bf8b CI 1617680662 +1000 commit: asd diff --git a/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/branch2 b/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/branch2 deleted file mode 100644 index a67589ac2..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/branch2 +++ /dev/null @@ -1,5 +0,0 @@ -0000000000000000000000000000000000000000 06da465196938ea235323950ee451ffb36a431cf CI 1617680651 +1000 branch: Created from HEAD -06da465196938ea235323950ee451ffb36a431cf 6d04f5ed53b383c0a4c63cac168df557b6df1e44 CI 1617680651 +1000 commit: file4 -6d04f5ed53b383c0a4c63cac168df557b6df1e44 a11d868e88adb55a48fc55ee1377b3255c0cd329 CI 1617680651 +1000 commit: file4 -a11d868e88adb55a48fc55ee1377b3255c0cd329 1b74d64fe4055d4502ac600072586068b27d4aa7 CI 1617680651 +1000 commit: file2 -1b74d64fe4055d4502ac600072586068b27d4aa7 0804f2069f5af172770da3d231be982ca320bf8b CI 1617680662 +1000 commit: asd diff --git a/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/master b/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/master deleted file mode 100644 index c435fd1a6..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/logs/refs/heads/master +++ /dev/null @@ -1,4 +0,0 @@ -0000000000000000000000000000000000000000 7bf3d13079ced18f5b00e29c48c777e23f687d0a CI 1617680651 +1000 commit (initial): file0 -7bf3d13079ced18f5b00e29c48c777e23f687d0a e876c3dfe2826621bea1bd3c87c2b9e2be88e69e CI 1617680651 +1000 commit: file1 -e876c3dfe2826621bea1bd3c87c2b9e2be88e69e c6756882cc166f52b096a5e4fb9e4f5d507870c8 CI 1617680651 +1000 commit: file2 -c6756882cc166f52b096a5e4fb9e4f5d507870c8 06da465196938ea235323950ee451ffb36a431cf CI 1617680651 +1000 commit: file4 diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/06/da465196938ea235323950ee451ffb36a431cf b/test/integration/diffing2/expected/repo/.git_keep/objects/06/da465196938ea235323950ee451ffb36a431cf deleted file mode 100644 index d7e70107c4b2682bcf55bbbce069ea05967ff077..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmV;F0Biqv0gaA93c@fDMP26<*$Xm>$z%c|LRUS;WIDluv86=t_~r<1{^Gs2__DRO zcI&b~^+VOh%%GA<9fc&E{36#_5*I2IYV@ffS5IJeKJ?wKV2ViOMI7Sr1u}BfP)i;Y zmk5ax2pRtL=XTg>wzp}1=$G66(u-{EZXLRW1Q?w?I{+|)j#FL#%uQWi8q5!5BRNmg Cdq%bZ diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/08/04f2069f5af172770da3d231be982ca320bf8b b/test/integration/diffing2/expected/repo/.git_keep/objects/08/04f2069f5af172770da3d231be982ca320bf8b deleted file mode 100644 index eea371cdcf02ff0a3f485b67346b44cc7b67d3aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 145 zcmV;C0B-+y0gaA93c@fD06pgwxeKz1$?g_Jgr540O|nJ7*b*c7eDega!wgK`YJGI; zCOGt_YU3oJd17@OC=2rS4BX<*i<=Lr2Jf=~ZE#08nZNMgRZ+ diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/1b/74d64fe4055d4502ac600072586068b27d4aa7 b/test/integration/diffing2/expected/repo/.git_keep/objects/1b/74d64fe4055d4502ac600072586068b27d4aa7 deleted file mode 100644 index 16181d57a..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/objects/1b/74d64fe4055d4502ac600072586068b27d4aa7 +++ /dev/null @@ -1,3 +0,0 @@ -x1 -0 @>BHBCeH\#tm]!fbdBԌ" -ڤ\-Iվjh1IIݮW",&e"^j&2.ƩCr09vaa|W}[և_!zN5:/?9 \ No newline at end of file diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 b/test/integration/diffing2/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 deleted file mode 100644 index 79fcadf67fdecb0f0cffca7ff27b2ae5c031e4d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 zcmV-20L}k+0V^p=O;s>9W-v4`Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U I033l4YT~68jQ{`u diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 b/test/integration/diffing2/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 deleted file mode 100644 index d4270c258e5362e874f0cd17fc6c260a82c41501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmb|y2)08mZ`J^%m! diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a b/test/integration/diffing2/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a deleted file mode 100644 index 65140e8b7c0189f1a7f6fc780332ce07230ba16e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31 ncmb7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKH+(OTTc#_-_Mea=Ha+){2V^zWQe2>@J}IUIERJ#_#8 diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 b/test/integration/diffing2/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 deleted file mode 100644 index ed50454974ab7775c9d85cee55477580ac83e835..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmV-^0D=E_0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F gDKKHsW!M`KS-4_PvBb?j2CH`kU1l|{09GbA0`7u1ssI20 diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/6d/04f5ed53b383c0a4c63cac168df557b6df1e44 b/test/integration/diffing2/expected/repo/.git_keep/objects/6d/04f5ed53b383c0a4c63cac168df557b6df1e44 deleted file mode 100644 index 8728705f8ccc981927428c9a38d7429f47dc491a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brww0gaAJ3d0}}K)d!7?h8eo89z`;A*&o?)R6{a6M}^vzd1s;kH_Pct@mYU zo7`m_B036|Y)U0xL!``z=$NuI5?H7Tu>b@IYUe}VLmOWiJ=x?FL}3R64iXs=B->gB z&j_|O#h>xo4n58KKFv@0a^F|Em90Ot^)~ou&WgTTV~jfKIW^=@UA1KuR6kFjIUud* BKY{=N diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/7b/f3d13079ced18f5b00e29c48c777e23f687d0a b/test/integration/diffing2/expected/repo/.git_keep/objects/7b/f3d13079ced18f5b00e29c48c777e23f687d0a deleted file mode 100644 index 7404048ebcfe8c65ff94f22923e5275bccbfc504..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmV-+0Ez#20gcT;3c@fDMq$@E#q0%{iPNM35uvLdBWeC%p&_M2@c8x!ZXX}KrPaE2 z64gsT0218cdrapK*` YZVRDeDF{Kigs}?72iZ7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKGpdh}?7z2{=TwsT3^k!H3(=W$*+1^{g9Id)YJJaPa4 diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c b/test/integration/diffing2/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c deleted file mode 100644 index 0e95eb06dda15fe1901a7942e7954b700b36bfa9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 101 zcmV-r0Gj`J0V^p=O;xb8WH2-^Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U zND2%YmhO4{S2gv2WLwJR>kD diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/a1/1d868e88adb55a48fc55ee1377b3255c0cd329 b/test/integration/diffing2/expected/repo/.git_keep/objects/a1/1d868e88adb55a48fc55ee1377b3255c0cd329 deleted file mode 100644 index 8d1c80d708e07529c92be949e4155ee10b77a11e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmV;F0Biqv0gcW<3d0}}K+&!}h5JI8adcv!ltNZHhK?f*#3lp_J$`e9Za;7FWovEe z7DspKhpMHL9Yn4}gp5*|oT|7H5w+47Mx+!|cG>Ld(08|7z}KK9P^L%%$qSPtL5`({ zFk~(j)q9gZ{k0u-n(cj>pZZO0U-c$idst)~I06T>R|Eia)^n=spWM`CRd0TQ%Q>$; CQ$!j7 diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/diffing2/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 deleted file mode 100644 index 285df3e5fbab12262e28d85e78af8a31cd0024c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 ccmb`~^A08nuUMF0Q* diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/c6/756882cc166f52b096a5e4fb9e4f5d507870c8 b/test/integration/diffing2/expected/repo/.git_keep/objects/c6/756882cc166f52b096a5e4fb9e4f5d507870c8 deleted file mode 100644 index 3869825cb0505d3244227ee7e5edad86e9db2cda..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmV;D0B!$x0gaBq3c@fD1wH30au+1KrO5_Fgr52t$>s$MjV&dDpKm|G>o5$XTWd?V z6#3E*z($Cq;EGBSE`?LgwTzB}M-2iJ;UO!l+0%h{w~*j1R1JyS-aTn3e(oFh1& zJ@^QdKK->FcAD*dnxFWlwy(J9)*hDpnHT3rvR87>nUkJV9e?VkE-Tpl0281(oXXxs AE&u=k diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 b/test/integration/diffing2/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 deleted file mode 100644 index 2e9066287..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 +++ /dev/null @@ -1,2 +0,0 @@ -x+)JMU03c040031QHI5`ֶww.hT[H - yW5Ɨ(| ^-W(x9 \ No newline at end of file diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 b/test/integration/diffing2/expected/repo/.git_keep/objects/e5/c5c5583f49a34e86ce622b59363df99e09d4c6 deleted file mode 100644 index 01ce23cee261a5c479d905ee8318e897bf4bca8f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 30 mcmb~-q%PKJUL9GL*(lMbH% diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a b/test/integration/diffing2/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a deleted file mode 100644 index 08edf28f3f282798a9dd14ae1222a66d0c4a783a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmV-_0D%8^0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%^C{T5hys-jyt=kDGjX{j7V6OEbKX h6qqpZXf5tzV|Z}sKIfqyZYehw`ghK#1OQ99IE)E{Iurl^ diff --git a/test/integration/diffing2/expected/repo/.git_keep/objects/e8/76c3dfe2826621bea1bd3c87c2b9e2be88e69e b/test/integration/diffing2/expected/repo/.git_keep/objects/e8/76c3dfe2826621bea1bd3c87c2b9e2be88e69e deleted file mode 100644 index 7dc95dfed69e65908fda398057c1010ada704191..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brww0gaA93d0}}0DJZo-V0?{&8|Wzg`DyXv#vA{n-DDY`OOo09cEx;Yi;Qk zle_do)fQk9Ng|N4Bo4Txu<_EBeIltRH BNA>^! diff --git a/test/integration/diffing2/expected/repo/.git_keep/refs/heads/branch2 b/test/integration/diffing2/expected/repo/.git_keep/refs/heads/branch2 deleted file mode 100644 index da38abcfa..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/refs/heads/branch2 +++ /dev/null @@ -1 +0,0 @@ -0804f2069f5af172770da3d231be982ca320bf8b diff --git a/test/integration/diffing2/expected/repo/.git_keep/refs/heads/master b/test/integration/diffing2/expected/repo/.git_keep/refs/heads/master deleted file mode 100644 index 168b462cc..000000000 --- a/test/integration/diffing2/expected/repo/.git_keep/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -06da465196938ea235323950ee451ffb36a431cf diff --git a/test/integration/diffing2/expected/repo/file0 b/test/integration/diffing2/expected/repo/file0 deleted file mode 100644 index 38143ad4a..000000000 --- a/test/integration/diffing2/expected/repo/file0 +++ /dev/null @@ -1 +0,0 @@ -test0 diff --git a/test/integration/diffing2/expected/repo/file1 b/test/integration/diffing2/expected/repo/file1 deleted file mode 100644 index a5bce3fd2..000000000 --- a/test/integration/diffing2/expected/repo/file1 +++ /dev/null @@ -1 +0,0 @@ -test1 diff --git a/test/integration/diffing2/expected/repo/file2 b/test/integration/diffing2/expected/repo/file2 deleted file mode 100644 index 180cf8328..000000000 --- a/test/integration/diffing2/expected/repo/file2 +++ /dev/null @@ -1 +0,0 @@ -test2 diff --git a/test/integration/diffing2/expected/repo/file4 b/test/integration/diffing2/expected/repo/file4 deleted file mode 100644 index 2d00bd505..000000000 --- a/test/integration/diffing2/expected/repo/file4 +++ /dev/null @@ -1 +0,0 @@ -line one diff --git a/test/integration/diffing2/recording.json b/test/integration/diffing2/recording.json deleted file mode 100644 index c560496f6..000000000 --- a/test/integration/diffing2/recording.json +++ /dev/null @@ -1 +0,0 @@ -{"KeyEvents":[{"Timestamp":819,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1236,"Mod":0,"Key":256,"Ch":87},{"Timestamp":1491,"Mod":0,"Key":13,"Ch":13},{"Timestamp":1899,"Mod":0,"Key":258,"Ch":0},{"Timestamp":3115,"Mod":0,"Key":256,"Ch":87},{"Timestamp":3539,"Mod":0,"Key":258,"Ch":0},{"Timestamp":3875,"Mod":0,"Key":258,"Ch":0},{"Timestamp":4315,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5291,"Mod":0,"Key":13,"Ch":13},{"Timestamp":6643,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7211,"Mod":0,"Key":256,"Ch":32},{"Timestamp":7475,"Mod":0,"Key":258,"Ch":0},{"Timestamp":7627,"Mod":0,"Key":256,"Ch":32},{"Timestamp":8227,"Mod":2,"Key":16,"Ch":16},{"Timestamp":8770,"Mod":0,"Key":258,"Ch":0},{"Timestamp":8963,"Mod":0,"Key":258,"Ch":0},{"Timestamp":9227,"Mod":0,"Key":13,"Ch":13},{"Timestamp":9947,"Mod":0,"Key":260,"Ch":0},{"Timestamp":10379,"Mod":0,"Key":256,"Ch":99},{"Timestamp":10635,"Mod":0,"Key":256,"Ch":97},{"Timestamp":10674,"Mod":0,"Key":256,"Ch":115},{"Timestamp":10731,"Mod":0,"Key":256,"Ch":100},{"Timestamp":11203,"Mod":0,"Key":13,"Ch":13},{"Timestamp":11715,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]} \ No newline at end of file diff --git a/test/integration/diffing2/setup.sh b/test/integration/diffing2/setup.sh deleted file mode 100644 index 4cd444a1f..000000000 --- a/test/integration/diffing2/setup.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -set -e - -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 "line one" > file4 -git add . -git commit -am file4 - -git checkout -b branch2 - -echo "line two" >> file4 -git add . -git commit -am file4 - -echo "line three" >> file4 -git add . -git commit -am file4 - -echo "line two" >> file2 -git add . -git commit -am file2 diff --git a/test/integration/diffing2/test.json b/test/integration/diffing2/test.json deleted file mode 100644 index c72724877..000000000 --- a/test/integration/diffing2/test.json +++ /dev/null @@ -1 +0,0 @@ -{ "description": "diffing two branches (again) and making a patch from their diff files", "speed": 10 } diff --git a/test/integration/diffing3/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration/diffing3/expected/repo/.git_keep/COMMIT_EDITMSG deleted file mode 100644 index d72af3146..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/COMMIT_EDITMSG +++ /dev/null @@ -1 +0,0 @@ -asd diff --git a/test/integration/diffing3/expected/repo/.git_keep/FETCH_HEAD b/test/integration/diffing3/expected/repo/.git_keep/FETCH_HEAD deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/integration/diffing3/expected/repo/.git_keep/HEAD b/test/integration/diffing3/expected/repo/.git_keep/HEAD deleted file mode 100644 index 1d57c9ea7..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/HEAD +++ /dev/null @@ -1 +0,0 @@ -ref: refs/heads/branch2 diff --git a/test/integration/diffing3/expected/repo/.git_keep/config b/test/integration/diffing3/expected/repo/.git_keep/config deleted file mode 100644 index 8ae104545..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/config +++ /dev/null @@ -1,10 +0,0 @@ -[core] - repositoryformatversion = 0 - filemode = true - bare = false - logallrefupdates = true - ignorecase = true - precomposeunicode = true -[user] - email = CI@example.com - name = CI diff --git a/test/integration/diffing3/expected/repo/.git_keep/description b/test/integration/diffing3/expected/repo/.git_keep/description deleted file mode 100644 index 498b267a8..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/description +++ /dev/null @@ -1 +0,0 @@ -Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/diffing3/expected/repo/.git_keep/index b/test/integration/diffing3/expected/repo/.git_keep/index deleted file mode 100644 index 3af23eb398326cea9c97fb163739870d45058a5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 281 zcmZ?q402{*U|<4b=7j8<<_g(UV_-BR0|N`2o{%;JL*o(#2F9;IH6lRFW+7sAWx+qK zZSR5)z3*Il^U>a^rneYa(=u~X4S>=N3?TiA4Qnf5G}Ig?baR&OdHh#3^~RTo&?ugK zrwajIE!|fk<`}}vv1NWzVFok@Ohe7tjBbtu&kv&prG4jKu38jc)!*_;d%lG_#2h2A zIUzx=u0Vz)gRz1E*SwD9yeDqxURuBZDr4FEiiaJ_dvtc4SNb|nsiVVf%gPg>)(5(~ IBeRYI0E{zSIsgCw diff --git a/test/integration/diffing3/expected/repo/.git_keep/info/exclude b/test/integration/diffing3/expected/repo/.git_keep/info/exclude deleted file mode 100644 index 8e9f2071f..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/info/exclude +++ /dev/null @@ -1,7 +0,0 @@ -# git ls-files --others --exclude-from=.git/info/exclude -# Lines that start with '#' are comments. -# For a project mostly in C, the following would be a good set of -# exclude patterns (uncomment them if you want to use them): -# *.[oa] -# *~ -.DS_Store diff --git a/test/integration/diffing3/expected/repo/.git_keep/logs/HEAD b/test/integration/diffing3/expected/repo/.git_keep/logs/HEAD deleted file mode 100644 index 0c3bb8fa2..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/logs/HEAD +++ /dev/null @@ -1,9 +0,0 @@ -0000000000000000000000000000000000000000 13d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 CI 1617680695 +1000 commit (initial): file0 -13d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 57695899c35539821690c4c132bd0e872a01c192 CI 1617680695 +1000 commit: file1 -57695899c35539821690c4c132bd0e872a01c192 4e2d07409901af28a47f5d3b126953a5fb8b36ee CI 1617680695 +1000 commit: file2 -4e2d07409901af28a47f5d3b126953a5fb8b36ee b25b8446022fb5fcded2bab1ed2b02828a5c4d0b CI 1617680695 +1000 commit: file4 -b25b8446022fb5fcded2bab1ed2b02828a5c4d0b b25b8446022fb5fcded2bab1ed2b02828a5c4d0b CI 1617680695 +1000 checkout: moving from master to branch2 -b25b8446022fb5fcded2bab1ed2b02828a5c4d0b ffb13702e6bc59e2806bc3a5f93500e46925b131 CI 1617680695 +1000 commit: file4 -ffb13702e6bc59e2806bc3a5f93500e46925b131 275e6a821120c07a9068a9701ed14a82eeed3117 CI 1617680695 +1000 commit: file4 -275e6a821120c07a9068a9701ed14a82eeed3117 1edd26fd03ee6243bd1513788874c6c57ef1d41a CI 1617680695 +1000 commit: file2 -1edd26fd03ee6243bd1513788874c6c57ef1d41a 93b73046d6820607f1da09399b55a145d5389ab8 CI 1617680702 +1000 commit: asd diff --git a/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/branch2 b/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/branch2 deleted file mode 100644 index 388d6e906..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/branch2 +++ /dev/null @@ -1,5 +0,0 @@ -0000000000000000000000000000000000000000 b25b8446022fb5fcded2bab1ed2b02828a5c4d0b CI 1617680695 +1000 branch: Created from HEAD -b25b8446022fb5fcded2bab1ed2b02828a5c4d0b ffb13702e6bc59e2806bc3a5f93500e46925b131 CI 1617680695 +1000 commit: file4 -ffb13702e6bc59e2806bc3a5f93500e46925b131 275e6a821120c07a9068a9701ed14a82eeed3117 CI 1617680695 +1000 commit: file4 -275e6a821120c07a9068a9701ed14a82eeed3117 1edd26fd03ee6243bd1513788874c6c57ef1d41a CI 1617680695 +1000 commit: file2 -1edd26fd03ee6243bd1513788874c6c57ef1d41a 93b73046d6820607f1da09399b55a145d5389ab8 CI 1617680702 +1000 commit: asd diff --git a/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/master b/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/master deleted file mode 100644 index 2eee36176..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/logs/refs/heads/master +++ /dev/null @@ -1,4 +0,0 @@ -0000000000000000000000000000000000000000 13d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 CI 1617680695 +1000 commit (initial): file0 -13d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 57695899c35539821690c4c132bd0e872a01c192 CI 1617680695 +1000 commit: file1 -57695899c35539821690c4c132bd0e872a01c192 4e2d07409901af28a47f5d3b126953a5fb8b36ee CI 1617680695 +1000 commit: file2 -4e2d07409901af28a47f5d3b126953a5fb8b36ee b25b8446022fb5fcded2bab1ed2b02828a5c4d0b CI 1617680695 +1000 commit: file4 diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 b/test/integration/diffing3/expected/repo/.git_keep/objects/0c/2aa38e0600e0d2df09c2f84664d8a14f899879 deleted file mode 100644 index 38acaeff2c4712a28ba59b99a0ddd33f70433acf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36 ucmV+<0Nej~0ZYosPf{?lWXQ?POI66vOXUJHO3L%0jEthxR4xGKxeQfIM-lJ< diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/13/d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 b/test/integration/diffing3/expected/repo/.git_keep/objects/13/d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 deleted file mode 100644 index 0b6ffa3fc..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/objects/13/d8ce6d541ffd4b323376e2530ccdd3bcc7b8d5 +++ /dev/null @@ -1,2 +0,0 @@ -xA -0@Q9IDz`!Dn?j];f@v7 IUs!Hdc*\Ч\+wi4mi $dD۟ܕu3t?+ \ No newline at end of file diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 b/test/integration/diffing3/expected/repo/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 deleted file mode 100644 index f74bf2335bbc5999ad0faff94fb04165d8ab5c7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 ccmb~ZE#08nZNMgRZ+ diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 b/test/integration/diffing3/expected/repo/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 deleted file mode 100644 index 79fcadf67fdecb0f0cffca7ff27b2ae5c031e4d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 50 zcmV-20L}k+0V^p=O;s>9W-v4`Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U I033l4YT~68jQ{`u diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/1e/dd26fd03ee6243bd1513788874c6c57ef1d41a b/test/integration/diffing3/expected/repo/.git_keep/objects/1e/dd26fd03ee6243bd1513788874c6c57ef1d41a deleted file mode 100644 index d27019b84..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/objects/1e/dd26fd03ee6243bd1513788874c6c57ef1d41a +++ /dev/null @@ -1,2 +0,0 @@ -xA -@ Fas 6#Nb~+L5rS݁3mEHJJ:"ћ5XN gx(B= P!L<1n0\-=v}u__.ʦ4D=*8͐?b9 \ No newline at end of file diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/27/5e6a821120c07a9068a9701ed14a82eeed3117 b/test/integration/diffing3/expected/repo/.git_keep/objects/27/5e6a821120c07a9068a9701ed14a82eeed3117 deleted file mode 100644 index 4ce25a568..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/objects/27/5e6a821120c07a9068a9701ed14a82eeed3117 +++ /dev/null @@ -1,2 +0,0 @@ -xA -0E]dfҤ("tc$qƖ#{|އZ$|i*gb -f"b bdxA)숬>e';Xv ?0/0C^@FߏJhڣn:38 \ No newline at end of file diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 b/test/integration/diffing3/expected/repo/.git_keep/objects/2d/00bd505971a8bc7318d98e003aee708a367c85 deleted file mode 100644 index d4270c258e5362e874f0cd17fc6c260a82c41501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24 gcmb|y2)08mZ`J^%m! diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a b/test/integration/diffing3/expected/repo/.git_keep/objects/3b/aaa732b89ed46a1af1b24d0d4e3b8c7375684a deleted file mode 100644 index 65140e8b7c0189f1a7f6fc780332ce07230ba16e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 31 ncmb7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKH+(OTTc#_-_Mea=Ha+){2V^zWQe2>@J}IUIERJ#_#8 diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/4e/2d07409901af28a47f5d3b126953a5fb8b36ee b/test/integration/diffing3/expected/repo/.git_keep/objects/4e/2d07409901af28a47f5d3b126953a5fb8b36ee deleted file mode 100644 index 49d0ec6d7..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/objects/4e/2d07409901af28a47f5d3b126953a5fb8b36ee +++ /dev/null @@ -1,3 +0,0 @@ -xA -0a9ELL2#L`l)<9Ǔ[LtꇪMʜ#T -cY"$fχ1$)%& *h))Mvii~7b<ÀugnR2?/8 \ No newline at end of file diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/57/695899c35539821690c4c132bd0e872a01c192 b/test/integration/diffing3/expected/repo/.git_keep/objects/57/695899c35539821690c4c132bd0e872a01c192 deleted file mode 100644 index 6fe16bc3d2f7ae43d8961deac5bb49dbe39367ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brww0gaA93d0}}0DJZo-V0@Qb&XI;A*Vb;cUKxnnh-4X`OOo09cEy7Ti3Z; zm;I$5s#YKob7qEIxD+o)t#T?kHbM0W6mp>8%w7(CpCQV?N)m%>O+rPFm`Hs@U>3p3 zoa!Laluv(chaD$-AE&2&%epUm<86IdM=sF-l%u^m05B&#r@H>Bn>H`%%n#>4I!=Q& BKMVi> diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 b/test/integration/diffing3/expected/repo/.git_keep/objects/59/a0ec98e1847ca72dc35b7ab8b84f527b6af280 deleted file mode 100644 index ed50454974ab7775c9d85cee55477580ac83e835..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 126 zcmV-^0D=E_0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F gDKKHsW!M`KS-4_PvBb?j2CH`kU1l|{09GbA0`7u1ssI20 diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 b/test/integration/diffing3/expected/repo/.git_keep/objects/8e/4cb0cd56d785ba4442a5b20e7ae5de5ae33723 deleted file mode 100644 index 2920ab335181ed440a54f52297d3cb1ab3a70222..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmV-_0D%8^0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%@oj{4i=z+IQ~dszu>d{VlJw=Ub>F hDKKGpdh}?7z2{=TwsT3^k!H3(=W$*+1^{g9Id)YJJaPa4 diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/93/b73046d6820607f1da09399b55a145d5389ab8 b/test/integration/diffing3/expected/repo/.git_keep/objects/93/b73046d6820607f1da09399b55a145d5389ab8 deleted file mode 100644 index 1dbb386fcbb4df3f4721439970d2fe36328e3b0e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmV;D0B!$x0gaA93c@fDMP26<*$Xn0w3!h^gsyswX=Z|gv86`v_~r<1AMbsBUTb|c zk7qcv-OQhjSqL<LQc;LzDGYH@95E6z(~wgh z$qMR#;^for>+Yx7U#9tHU#Z*EPI;|YkEzcy5Cnfj0C1i5Q_cR=oxIik09XAvS?2FW A*Z=?k diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c b/test/integration/diffing3/expected/repo/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c deleted file mode 100644 index 0e95eb06dda15fe1901a7942e7954b700b36bfa9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 101 zcmV-r0Gj`J0V^p=O;xb8WH2-^Ff%bxNXyJgHDIt1vAVM0pVqc_!H3>=F1`6^?^M%U zND2%YmhO4{S2gv2WLwJR>kD diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/diffing3/expected/repo/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 deleted file mode 100644 index 285df3e5fbab12262e28d85e78af8a31cd0024c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21 ccmb`~^A08nuUMF0Q* diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/b2/5b8446022fb5fcded2bab1ed2b02828a5c4d0b b/test/integration/diffing3/expected/repo/.git_keep/objects/b2/5b8446022fb5fcded2bab1ed2b02828a5c4d0b deleted file mode 100644 index 7840a7939203b9017ef5ab786d9abbe463e55804..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 148 zcmV;F0Biqv0gaAL3c@fDMqTF=*$Xn0zezwu=&Hw z#$-XhQOq zeI20v!>^5M2W~-q%PKJUL9GL*(lMbH% diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a b/test/integration/diffing3/expected/repo/.git_keep/objects/e7/76522ac28860d2eba6fe98fa4fad67e798419a deleted file mode 100644 index 08edf28f3f282798a9dd14ae1222a66d0c4a783a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmV-_0D%8^0V^p=O;s>7HexU|FfcPQQAo?oNi|@w5V5+l;GfpEcfp6=cP_p8Xzx_h zTSy8F8J6yO{8u&g#+QiDD4u+$3jtm&-B*zm7%^C{T5hys-jyt=kDGjX{j7V6OEbKX h6qqpZXf5tzV|Z}sKIfqyZYehw`ghK#1OQ99IE)E{Iurl^ diff --git a/test/integration/diffing3/expected/repo/.git_keep/objects/ff/b13702e6bc59e2806bc3a5f93500e46925b131 b/test/integration/diffing3/expected/repo/.git_keep/objects/ff/b13702e6bc59e2806bc3a5f93500e46925b131 deleted file mode 100644 index 41ee689edc7511ff392b6defa859879a72f56bff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmV;E0Brww0gaA93c@fD06pgwxeKz{?j{jLgr540-DHb})|L{%=Uac^X<(SclyzCA z=ED_FZ8!7Ts3?@mv8K!_M1;bMU`dRtu~^q7?A#{1y_#2K%|sCpN9D0ptEi&k2f&P3 zxKIUk@@~&{_x<2+{qV4lEZc0CvMzTYVn{JVys|$B0C0yrrkeekyK$P0+!yBJI%9s& BOa%Y{ diff --git a/test/integration/diffing3/expected/repo/.git_keep/refs/heads/branch2 b/test/integration/diffing3/expected/repo/.git_keep/refs/heads/branch2 deleted file mode 100644 index 0fd67f431..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/refs/heads/branch2 +++ /dev/null @@ -1 +0,0 @@ -93b73046d6820607f1da09399b55a145d5389ab8 diff --git a/test/integration/diffing3/expected/repo/.git_keep/refs/heads/master b/test/integration/diffing3/expected/repo/.git_keep/refs/heads/master deleted file mode 100644 index 1ae5bbe93..000000000 --- a/test/integration/diffing3/expected/repo/.git_keep/refs/heads/master +++ /dev/null @@ -1 +0,0 @@ -b25b8446022fb5fcded2bab1ed2b02828a5c4d0b diff --git a/test/integration/diffing3/expected/repo/file0 b/test/integration/diffing3/expected/repo/file0 deleted file mode 100644 index 38143ad4a..000000000 --- a/test/integration/diffing3/expected/repo/file0 +++ /dev/null @@ -1 +0,0 @@ -test0 diff --git a/test/integration/diffing3/expected/repo/file1 b/test/integration/diffing3/expected/repo/file1 deleted file mode 100644 index a5bce3fd2..000000000 --- a/test/integration/diffing3/expected/repo/file1 +++ /dev/null @@ -1 +0,0 @@ -test1 diff --git a/test/integration/diffing3/expected/repo/file2 b/test/integration/diffing3/expected/repo/file2 deleted file mode 100644 index 180cf8328..000000000 --- a/test/integration/diffing3/expected/repo/file2 +++ /dev/null @@ -1 +0,0 @@ -test2 diff --git a/test/integration/diffing3/recording.json b/test/integration/diffing3/recording.json deleted file mode 100644 index 3075a9b2f..000000000 --- a/test/integration/diffing3/recording.json +++ /dev/null @@ -1 +0,0 @@ -{"KeyEvents":[{"Timestamp":487,"Mod":0,"Key":259,"Ch":0},{"Timestamp":768,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1039,"Mod":0,"Key":256,"Ch":87},{"Timestamp":1303,"Mod":0,"Key":13,"Ch":13},{"Timestamp":1599,"Mod":0,"Key":258,"Ch":0},{"Timestamp":1791,"Mod":0,"Key":258,"Ch":0},{"Timestamp":1975,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2151,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2384,"Mod":0,"Key":13,"Ch":13},{"Timestamp":3335,"Mod":0,"Key":256,"Ch":32},{"Timestamp":3527,"Mod":0,"Key":258,"Ch":0},{"Timestamp":3679,"Mod":0,"Key":256,"Ch":32},{"Timestamp":4214,"Mod":2,"Key":16,"Ch":16},{"Timestamp":5111,"Mod":0,"Key":258,"Ch":0},{"Timestamp":5327,"Mod":0,"Key":13,"Ch":13},{"Timestamp":6006,"Mod":0,"Key":260,"Ch":0},{"Timestamp":6223,"Mod":0,"Key":260,"Ch":0},{"Timestamp":6447,"Mod":0,"Key":256,"Ch":99},{"Timestamp":6631,"Mod":0,"Key":256,"Ch":97},{"Timestamp":6671,"Mod":0,"Key":256,"Ch":115},{"Timestamp":6743,"Mod":0,"Key":256,"Ch":100},{"Timestamp":7111,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7559,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]} \ No newline at end of file diff --git a/test/integration/diffing3/setup.sh b/test/integration/diffing3/setup.sh deleted file mode 100644 index 4cd444a1f..000000000 --- a/test/integration/diffing3/setup.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -set -e - -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 "line one" > file4 -git add . -git commit -am file4 - -git checkout -b branch2 - -echo "line two" >> file4 -git add . -git commit -am file4 - -echo "line three" >> file4 -git add . -git commit -am file4 - -echo "line two" >> file2 -git add . -git commit -am file2 diff --git a/test/integration/diffing3/test.json b/test/integration/diffing3/test.json deleted file mode 100644 index 8e427d1f4..000000000 --- a/test/integration/diffing3/test.json +++ /dev/null @@ -1 +0,0 @@ -{ "description": "diffing two commits and making a patch from their diff files", "speed": 10 }