diff options
Diffstat (limited to 'test')
34 files changed, 74 insertions, 0 deletions
diff --git a/test/integration/filterPath3/expected/.git_keep/COMMIT_EDITMSG b/test/integration/filterPath3/expected/.git_keep/COMMIT_EDITMSG new file mode 100644 index 000000000..9daeafb98 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/COMMIT_EDITMSG @@ -0,0 +1 @@ +test diff --git a/test/integration/filterPath3/expected/.git_keep/FETCH_HEAD b/test/integration/filterPath3/expected/.git_keep/FETCH_HEAD new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/FETCH_HEAD diff --git a/test/integration/filterPath3/expected/.git_keep/HEAD b/test/integration/filterPath3/expected/.git_keep/HEAD new file mode 100644 index 000000000..cb089cd89 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/test/integration/filterPath3/expected/.git_keep/config b/test/integration/filterPath3/expected/.git_keep/config new file mode 100644 index 000000000..8ae104545 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/config @@ -0,0 +1,10 @@ +[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/filterPath3/expected/.git_keep/description b/test/integration/filterPath3/expected/.git_keep/description new file mode 100644 index 000000000..498b267a8 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/test/integration/filterPath3/expected/.git_keep/index b/test/integration/filterPath3/expected/.git_keep/index Binary files differnew file mode 100644 index 000000000..9dbc3068b --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/index diff --git a/test/integration/filterPath3/expected/.git_keep/info/exclude b/test/integration/filterPath3/expected/.git_keep/info/exclude new file mode 100644 index 000000000..8e9f2071f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/info/exclude @@ -0,0 +1,7 @@ +# 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/filterPath3/expected/.git_keep/logs/HEAD b/test/integration/filterPath3/expected/.git_keep/logs/HEAD new file mode 100644 index 000000000..c84dc4885 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/logs/HEAD @@ -0,0 +1,6 @@ +0000000000000000000000000000000000000000 e92eec6edb251fbc68435ffd5cd7a52f886f062d CI <CI@example.com> 1617668986 +1000 commit (initial): file0 +e92eec6edb251fbc68435ffd5cd7a52f886f062d 76ff9510a110483d5de27a6d2c1b1a0e82207431 CI <CI@example.com> 1617668986 +1000 commit: file1 +76ff9510a110483d5de27a6d2c1b1a0e82207431 a668d8690712ac945055bd187ed70fd10541dd38 CI <CI@example.com> 1617668986 +1000 commit: file2 +a668d8690712ac945055bd187ed70fd10541dd38 2c7b461ce430e2d743ee239f0c994fd60f90c863 CI <CI@example.com> 1617668986 +1000 commit: file1 and file2 +2c7b461ce430e2d743ee239f0c994fd60f90c863 ac8bf479b326a578d74ca8fa9d3a9d2c86188770 CI <CI@example.com> 1617668986 +1000 commit: file +ac8bf479b326a578d74ca8fa9d3a9d2c86188770 871d1c0423b07670f34db0ca48738dcec548512e CI <CI@example.com> 1617669005 +1000 commit: test diff --git a/test/integration/filterPath3/expected/.git_keep/logs/refs/heads/master b/test/integration/filterPath3/expected/.git_keep/logs/refs/heads/master new file mode 100644 index 000000000..c84dc4885 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/logs/refs/heads/master @@ -0,0 +1,6 @@ +0000000000000000000000000000000000000000 e92eec6edb251fbc68435ffd5cd7a52f886f062d CI <CI@example.com> 1617668986 +1000 commit (initial): file0 +e92eec6edb251fbc68435ffd5cd7a52f886f062d 76ff9510a110483d5de27a6d2c1b1a0e82207431 CI <CI@example.com> 1617668986 +1000 commit: file1 +76ff9510a110483d5de27a6d2c1b1a0e82207431 a668d8690712ac945055bd187ed70fd10541dd38 CI <CI@example.com> 1617668986 +1000 commit: file2 +a668d8690712ac945055bd187ed70fd10541dd38 2c7b461ce430e2d743ee239f0c994fd60f90c863 CI <CI@example.com> 1617668986 +1000 commit: file1 and file2 +2c7b461ce430e2d743ee239f0c994fd60f90c863 ac8bf479b326a578d74ca8fa9d3a9d2c86188770 CI <CI@example.com> 1617668986 +1000 commit: file +ac8bf479b326a578d74ca8fa9d3a9d2c86188770 871d1c0423b07670f34db0ca48738dcec548512e CI <CI@example.com> 1617669005 +1000 commit: test diff --git a/test/integration/filterPath3/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 b/test/integration/filterPath3/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 Binary files differnew file mode 100644 index 000000000..f74bf2335 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 b/test/integration/filterPath3/expected/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 Binary files differnew file mode 100644 index 000000000..79fcadf67 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/1e/3e67b999db1576ad1ee08bf4f02bdf29e49442 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/2c/7b461ce430e2d743ee239f0c994fd60f90c863 b/test/integration/filterPath3/expected/.git_keep/objects/2c/7b461ce430e2d743ee239f0c994fd60f90c863 Binary files differnew file mode 100644 index 000000000..1d4480f08 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/2c/7b461ce430e2d743ee239f0c994fd60f90c863 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da b/test/integration/filterPath3/expected/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da Binary files differnew file mode 100644 index 000000000..06c9cb73d --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/38/143ad4a0fe2ab6ee53c2ef89a5d9e2bd9535da diff --git a/test/integration/filterPath3/expected/.git_keep/objects/76/ff9510a110483d5de27a6d2c1b1a0e82207431 b/test/integration/filterPath3/expected/.git_keep/objects/76/ff9510a110483d5de27a6d2c1b1a0e82207431 new file mode 100644 index 000000000..f28004818 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/76/ff9510a110483d5de27a6d2c1b1a0e82207431 @@ -0,0 +1,2 @@ +xM +0@a9Ed3I@DǘN&XhL)<=Ƿx[[l/Dd&.)ZXggNlE,6)1yj-K`kJX
ڢ3^Ӭ/}ЀSN`Qg=U]7:
\ No newline at end of file diff --git a/test/integration/filterPath3/expected/.git_keep/objects/77/9de836a10ac879fa919f48d5dc4f4ce11528e2 b/test/integration/filterPath3/expected/.git_keep/objects/77/9de836a10ac879fa919f48d5dc4f4ce11528e2 Binary files differnew file mode 100644 index 000000000..ad968bd2f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/77/9de836a10ac879fa919f48d5dc4f4ce11528e2 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/84/b823dc5fc92fcf08eb8c8545716232ce49bd45 b/test/integration/filterPath3/expected/.git_keep/objects/84/b823dc5fc92fcf08eb8c8545716232ce49bd45 Binary files differnew file mode 100644 index 000000000..e51e74d64 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/84/b823dc5fc92fcf08eb8c8545716232ce49bd45 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/87/1d1c0423b07670f34db0ca48738dcec548512e b/test/integration/filterPath3/expected/.git_keep/objects/87/1d1c0423b07670f34db0ca48738dcec548512e Binary files differnew file mode 100644 index 000000000..a1c1892c9 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/87/1d1c0423b07670f34db0ca48738dcec548512e diff --git a/test/integration/filterPath3/expected/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c b/test/integration/filterPath3/expected/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c Binary files differnew file mode 100644 index 000000000..0e95eb06d --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/9e/88a70dc8d82dd2afbfd50176ef78e18823bc2c diff --git a/test/integration/filterPath3/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/filterPath3/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 Binary files differnew file mode 100644 index 000000000..285df3e5f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/a6/68d8690712ac945055bd187ed70fd10541dd38 b/test/integration/filterPath3/expected/.git_keep/objects/a6/68d8690712ac945055bd187ed70fd10541dd38 Binary files differnew file mode 100644 index 000000000..764edf66f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/a6/68d8690712ac945055bd187ed70fd10541dd38 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/ac/8bf479b326a578d74ca8fa9d3a9d2c86188770 b/test/integration/filterPath3/expected/.git_keep/objects/ac/8bf479b326a578d74ca8fa9d3a9d2c86188770 Binary files differnew file mode 100644 index 000000000..d725a9a7e --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/ac/8bf479b326a578d74ca8fa9d3a9d2c86188770 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/c8/68546458601b9c71b76b893f9020ecf7405528 b/test/integration/filterPath3/expected/.git_keep/objects/c8/68546458601b9c71b76b893f9020ecf7405528 Binary files differnew file mode 100644 index 000000000..5310f4862 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/c8/68546458601b9c71b76b893f9020ecf7405528 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 b/test/integration/filterPath3/expected/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 new file mode 100644 index 000000000..2e9066287 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/d0/76cc9cc09acaa2d36fbc7a95fd3e2306494641 @@ -0,0 +1,2 @@ +x+)JMU03c040031QHI5`ֶww.hT[H +yW5Ɨ(|^-W(x9
\ No newline at end of file diff --git a/test/integration/filterPath3/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54 b/test/integration/filterPath3/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54 Binary files differnew file mode 100644 index 000000000..d39fa7d2f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54 diff --git a/test/integration/filterPath3/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b b/test/integration/filterPath3/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b Binary files differnew file mode 100644 index 000000000..9b771fc2f --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b diff --git a/test/integration/filterPath3/expected/.git_keep/objects/e9/2eec6edb251fbc68435ffd5cd7a52f886f062d b/test/integration/filterPath3/expected/.git_keep/objects/e9/2eec6edb251fbc68435ffd5cd7a52f886f062d Binary files differnew file mode 100644 index 000000000..c61ff3312 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/objects/e9/2eec6edb251fbc68435ffd5cd7a52f886f062d diff --git a/test/integration/filterPath3/expected/.git_keep/refs/heads/master b/test/integration/filterPath3/expected/.git_keep/refs/heads/master new file mode 100644 index 000000000..85ce056a5 --- /dev/null +++ b/test/integration/filterPath3/expected/.git_keep/refs/heads/master @@ -0,0 +1 @@ +871d1c0423b07670f34db0ca48738dcec548512e diff --git a/test/integration/filterPath3/expected/file b/test/integration/filterPath3/expected/file new file mode 100644 index 000000000..d234c5e05 --- /dev/null +++ b/test/integration/filterPath3/expected/file @@ -0,0 +1 @@ +test4 diff --git a/test/integration/filterPath3/expected/file0 b/test/integration/filterPath3/expected/file0 new file mode 100644 index 000000000..38143ad4a --- /dev/null +++ b/test/integration/filterPath3/expected/file0 @@ -0,0 +1 @@ +test0 diff --git a/test/integration/filterPath3/expected/file1 b/test/integration/filterPath3/expected/file1 new file mode 100644 index 000000000..a5bce3fd2 --- /dev/null +++ b/test/integration/filterPath3/expected/file1 @@ -0,0 +1 @@ +test1 diff --git a/test/integration/filterPath3/expected/file2 b/test/integration/filterPath3/expected/file2 new file mode 100644 index 000000000..d234c5e05 --- /dev/null +++ b/test/integration/filterPath3/expected/file2 @@ -0,0 +1 @@ +test4 diff --git a/test/integration/filterPath3/recording.json b/test/integration/filterPath3/recording.json new file mode 100644 index 000000000..6955afb02 --- /dev/null +++ b/test/integration/filterPath3/recording.json @@ -0,0 +1 @@ +{"KeyEvents":[{"Timestamp":2083,"Mod":0,"Key":256,"Ch":120},{"Timestamp":2419,"Mod":0,"Key":256,"Ch":47},{"Timestamp":2659,"Mod":0,"Key":256,"Ch":102},{"Timestamp":2771,"Mod":0,"Key":256,"Ch":105},{"Timestamp":2835,"Mod":0,"Key":256,"Ch":108},{"Timestamp":2883,"Mod":0,"Key":256,"Ch":116},{"Timestamp":2971,"Mod":0,"Key":256,"Ch":101},{"Timestamp":3027,"Mod":0,"Key":256,"Ch":114},{"Timestamp":3331,"Mod":0,"Key":256,"Ch":45},{"Timestamp":3563,"Mod":0,"Key":256,"Ch":98},{"Timestamp":3627,"Mod":0,"Key":256,"Ch":121},{"Timestamp":4019,"Mod":0,"Key":256,"Ch":45},{"Timestamp":4243,"Mod":0,"Key":256,"Ch":112},{"Timestamp":4355,"Mod":0,"Key":256,"Ch":97},{"Timestamp":4403,"Mod":0,"Key":256,"Ch":116},{"Timestamp":4467,"Mod":0,"Key":256,"Ch":104},{"Timestamp":4676,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5467,"Mod":0,"Key":13,"Ch":13},{"Timestamp":6164,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7339,"Mod":0,"Key":256,"Ch":102},{"Timestamp":7419,"Mod":0,"Key":256,"Ch":105},{"Timestamp":7458,"Mod":0,"Key":256,"Ch":108},{"Timestamp":7515,"Mod":0,"Key":256,"Ch":101},{"Timestamp":7683,"Mod":0,"Key":256,"Ch":49},{"Timestamp":8011,"Mod":0,"Key":13,"Ch":13},{"Timestamp":9419,"Mod":0,"Key":13,"Ch":13},{"Timestamp":11491,"Mod":0,"Key":256,"Ch":32},{"Timestamp":12300,"Mod":2,"Key":16,"Ch":16},{"Timestamp":13122,"Mod":0,"Key":258,"Ch":0},{"Timestamp":13354,"Mod":0,"Key":258,"Ch":0},{"Timestamp":13674,"Mod":0,"Key":13,"Ch":13},{"Timestamp":14887,"Mod":0,"Key":27,"Ch":0},{"Timestamp":15445,"Mod":0,"Key":27,"Ch":0},{"Timestamp":16045,"Mod":0,"Key":27,"Ch":0},{"Timestamp":16602,"Mod":0,"Key":260,"Ch":0},{"Timestamp":16899,"Mod":0,"Key":260,"Ch":0},{"Timestamp":17339,"Mod":0,"Key":256,"Ch":99},{"Timestamp":18467,"Mod":0,"Key":256,"Ch":116},{"Timestamp":18495,"Mod":0,"Key":256,"Ch":101},{"Timestamp":18636,"Mod":0,"Key":256,"Ch":115},{"Timestamp":18667,"Mod":0,"Key":256,"Ch":116},{"Timestamp":18779,"Mod":0,"Key":13,"Ch":13},{"Timestamp":19827,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}
\ No newline at end of file diff --git a/test/integration/filterPath3/setup.sh b/test/integration/filterPath3/setup.sh new file mode 100644 index 000000000..e766b6bdb --- /dev/null +++ b/test/integration/filterPath3/setup.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +cd $1 + +git init + +git config user.email "CI@example.com" +git config user.name "CI" + +# need a history of commits each containing various files + +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 test3 > file1 +echo test4 > file2 +git add . +git commit -am "file1 and file2" + +echo test4 > file +git add . +git commit -am "file" diff --git a/test/integration/filterPath3/test.json b/test/integration/filterPath3/test.json new file mode 100644 index 000000000..682ac9c2f --- /dev/null +++ b/test/integration/filterPath3/test.json @@ -0,0 +1 @@ +{ "description": "Open filter path mode from within lazygit", "speed": 10 } |