mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-19 21:28:28 +02:00
add another filter path test
This commit is contained in:
parent
5e094c8a7c
commit
546eb50bac
@ -0,0 +1 @@
|
||||
test
|
1
test/integration/filterPath2/expected/.git_keep/HEAD
Normal file
1
test/integration/filterPath2/expected/.git_keep/HEAD
Normal file
@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
10
test/integration/filterPath2/expected/.git_keep/config
Normal file
10
test/integration/filterPath2/expected/.git_keep/config
Normal file
@ -0,0 +1,10 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
@ -0,0 +1 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
BIN
test/integration/filterPath2/expected/.git_keep/index
Normal file
BIN
test/integration/filterPath2/expected/.git_keep/index
Normal file
Binary file not shown.
@ -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
|
@ -0,0 +1,6 @@
|
||||
0000000000000000000000000000000000000000 36d991b179958e18281131be9914649ebe40bfba CI <CI@example.com> 1617668883 +1000 commit (initial): file0
|
||||
36d991b179958e18281131be9914649ebe40bfba 7d3e3bcc43446179c3fe38dec8cfccb87514c3fa CI <CI@example.com> 1617668883 +1000 commit: file1
|
||||
7d3e3bcc43446179c3fe38dec8cfccb87514c3fa f6707836a7d9a861ebfeff921a45ed43cd429cef CI <CI@example.com> 1617668883 +1000 commit: file2
|
||||
f6707836a7d9a861ebfeff921a45ed43cd429cef 914d8fff27717808920192dc44535c711f41dc75 CI <CI@example.com> 1617668883 +1000 commit: file1 and file2
|
||||
914d8fff27717808920192dc44535c711f41dc75 23b4388df8cdc033c4266f55a4234c41f2e6a857 CI <CI@example.com> 1617668883 +1000 commit: file
|
||||
23b4388df8cdc033c4266f55a4234c41f2e6a857 c1a2676f74b3007ebb101d4d121cecb4850f1378 CI <CI@example.com> 1617668905 +1000 commit: test
|
@ -0,0 +1,6 @@
|
||||
0000000000000000000000000000000000000000 36d991b179958e18281131be9914649ebe40bfba CI <CI@example.com> 1617668883 +1000 commit (initial): file0
|
||||
36d991b179958e18281131be9914649ebe40bfba 7d3e3bcc43446179c3fe38dec8cfccb87514c3fa CI <CI@example.com> 1617668883 +1000 commit: file1
|
||||
7d3e3bcc43446179c3fe38dec8cfccb87514c3fa f6707836a7d9a861ebfeff921a45ed43cd429cef CI <CI@example.com> 1617668883 +1000 commit: file2
|
||||
f6707836a7d9a861ebfeff921a45ed43cd429cef 914d8fff27717808920192dc44535c711f41dc75 CI <CI@example.com> 1617668883 +1000 commit: file1 and file2
|
||||
914d8fff27717808920192dc44535c711f41dc75 23b4388df8cdc033c4266f55a4234c41f2e6a857 CI <CI@example.com> 1617668883 +1000 commit: file
|
||||
23b4388df8cdc033c4266f55a4234c41f2e6a857 c1a2676f74b3007ebb101d4d121cecb4850f1378 CI <CI@example.com> 1617668905 +1000 commit: test
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
x�־A
|
||||
ֳ @ׁ®=…�Bqװ�”Rָ*ַ׀q₪�״„`¡ַ¯Gטצף�קײײ®�ל¥�"÷˜€ִּl(qJ¶8¬™C¢©'ײפהׁƒ:ׂ)ן®"ָˆ¦(mp�eֱִH²x“kN*}תk?ץ¼ט�¼<ו›�±ֹ�קצ׀€c�N_ֱ£FS]ה×®›€תdֺ9O
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
x+)JMU03c040031QHヒフI5`ーアコイ燹ヨカwチ�w.ス��モ[H
|
||||
矢y�5�来ミ(桍ァ^-ンW(x9
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
x�ÎA
|
||||
Â0…a×9ÅìÉ$i2¡«#�™`¡±¥Dðøæn?þ�÷Z×8ºK;UaT¢œ¬0 9—ËRd°˜¢–DŠDÎ/ìØùÔwƒ$^;pð!DL#û¢žD™¸0/”ݲɟöÚO˜f¸OóS¿¹›Þx¯À>Œ‘ˆ<\ÑZkºöSMÿÌMY7uæ'p:Ü
|
@ -0,0 +1 @@
|
||||
c1a2676f74b3007ebb101d4d121cecb4850f1378
|
1
test/integration/filterPath2/expected/file
Normal file
1
test/integration/filterPath2/expected/file
Normal file
@ -0,0 +1 @@
|
||||
test4
|
1
test/integration/filterPath2/expected/file0
Normal file
1
test/integration/filterPath2/expected/file0
Normal file
@ -0,0 +1 @@
|
||||
test0
|
1
test/integration/filterPath2/expected/file1
Normal file
1
test/integration/filterPath2/expected/file1
Normal file
@ -0,0 +1 @@
|
||||
test1
|
1
test/integration/filterPath2/expected/file2
Normal file
1
test/integration/filterPath2/expected/file2
Normal file
@ -0,0 +1 @@
|
||||
test4
|
1
test/integration/filterPath2/recording.json
Normal file
1
test/integration/filterPath2/recording.json
Normal file
@ -0,0 +1 @@
|
||||
{"KeyEvents":[{"Timestamp":650,"Mod":0,"Key":259,"Ch":0},{"Timestamp":970,"Mod":0,"Key":259,"Ch":0},{"Timestamp":1547,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2370,"Mod":0,"Key":13,"Ch":13},{"Timestamp":3506,"Mod":0,"Key":256,"Ch":120},{"Timestamp":4658,"Mod":0,"Key":256,"Ch":47},{"Timestamp":4971,"Mod":0,"Key":256,"Ch":102},{"Timestamp":5066,"Mod":0,"Key":256,"Ch":105},{"Timestamp":5106,"Mod":0,"Key":256,"Ch":108},{"Timestamp":5178,"Mod":0,"Key":256,"Ch":116},{"Timestamp":5266,"Mod":0,"Key":256,"Ch":101},{"Timestamp":5338,"Mod":0,"Key":256,"Ch":114},{"Timestamp":5426,"Mod":0,"Key":256,"Ch":45},{"Timestamp":5674,"Mod":0,"Key":256,"Ch":98},{"Timestamp":5698,"Mod":0,"Key":256,"Ch":121},{"Timestamp":5938,"Mod":0,"Key":256,"Ch":45},{"Timestamp":6148,"Mod":0,"Key":256,"Ch":112},{"Timestamp":6291,"Mod":0,"Key":256,"Ch":97},{"Timestamp":6330,"Mod":0,"Key":256,"Ch":116},{"Timestamp":6394,"Mod":0,"Key":256,"Ch":104},{"Timestamp":6666,"Mod":0,"Key":13,"Ch":13},{"Timestamp":8498,"Mod":0,"Key":13,"Ch":13},{"Timestamp":10194,"Mod":0,"Key":13,"Ch":13},{"Timestamp":12275,"Mod":0,"Key":13,"Ch":13},{"Timestamp":13378,"Mod":0,"Key":256,"Ch":32},{"Timestamp":14442,"Mod":2,"Key":16,"Ch":16},{"Timestamp":15442,"Mod":0,"Key":258,"Ch":0},{"Timestamp":15706,"Mod":0,"Key":258,"Ch":0},{"Timestamp":16058,"Mod":0,"Key":13,"Ch":13},{"Timestamp":17286,"Mod":0,"Key":27,"Ch":0},{"Timestamp":17992,"Mod":0,"Key":27,"Ch":0},{"Timestamp":18625,"Mod":0,"Key":27,"Ch":0},{"Timestamp":19883,"Mod":0,"Key":260,"Ch":0},{"Timestamp":20210,"Mod":0,"Key":260,"Ch":0},{"Timestamp":20987,"Mod":0,"Key":256,"Ch":99},{"Timestamp":21386,"Mod":0,"Key":256,"Ch":116},{"Timestamp":21514,"Mod":0,"Key":256,"Ch":101},{"Timestamp":21722,"Mod":0,"Key":256,"Ch":115},{"Timestamp":21770,"Mod":0,"Key":256,"Ch":116},{"Timestamp":22338,"Mod":0,"Key":13,"Ch":13},{"Timestamp":23658,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}
|
31
test/integration/filterPath2/setup.sh
Normal file
31
test/integration/filterPath2/setup.sh
Normal file
@ -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"
|
1
test/integration/filterPath2/test.json
Normal file
1
test/integration/filterPath2/test.json
Normal file
@ -0,0 +1 @@
|
||||
{ "description": "Open filter path mode from within lazygit", "speed": 10 }
|
Loading…
x
Reference in New Issue
Block a user