mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-11 11:42:12 +02:00
migrate filter path tests
This commit is contained in:
parent
6f709456fe
commit
89ba3a38b4
20
pkg/integration/tests/filter_by_path/cli.go
Normal file
20
pkg/integration/tests/filter_by_path/cli.go
Normal file
@ -0,0 +1,20 @@
|
||||
package filter_by_path
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||
)
|
||||
|
||||
var CliArg = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Filter commits by file path, using CLI arg",
|
||||
ExtraCmdArgs: "-f filterFile",
|
||||
Skip: false,
|
||||
SetupConfig: func(config *config.AppConfig) {
|
||||
},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
commonSetup(shell)
|
||||
},
|
||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
||||
postFilterTest(t, keys)
|
||||
},
|
||||
})
|
76
pkg/integration/tests/filter_by_path/select_file.go
Normal file
76
pkg/integration/tests/filter_by_path/select_file.go
Normal file
@ -0,0 +1,76 @@
|
||||
package filter_by_path
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||
)
|
||||
|
||||
var SelectFile = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Filter commits by file path, by finding file in UI and filtering on it",
|
||||
ExtraCmdArgs: "",
|
||||
Skip: false,
|
||||
SetupConfig: func(config *config.AppConfig) {
|
||||
},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
commonSetup(shell)
|
||||
},
|
||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
||||
t.Views().Commits().
|
||||
Focus().
|
||||
Lines(
|
||||
Contains(`only filterFile`).IsSelected(),
|
||||
Contains(`only otherFile`),
|
||||
Contains(`both files`),
|
||||
).
|
||||
PressEnter()
|
||||
|
||||
// when you click into the commit itself, you see all files from that commit
|
||||
t.Views().CommitFiles().
|
||||
IsFocused().
|
||||
Lines(
|
||||
Contains(`filterFile`).IsSelected(),
|
||||
).
|
||||
Press(keys.Universal.FilteringMenu)
|
||||
|
||||
t.ExpectPopup().Menu().Title(Equals("Filtering")).Select(Contains("filter by 'filterFile'")).Confirm()
|
||||
|
||||
postFilterTest(t, keys)
|
||||
},
|
||||
})
|
||||
|
||||
func commonSetup(shell *Shell) {
|
||||
shell.CreateFileAndAdd("filterFile", "original filterFile content")
|
||||
shell.CreateFileAndAdd("otherFile", "original otherFile content")
|
||||
shell.Commit("both files")
|
||||
|
||||
shell.UpdateFileAndAdd("otherFile", "new otherFile content")
|
||||
shell.Commit("only otherFile")
|
||||
|
||||
shell.UpdateFileAndAdd("filterFile", "new filterFile content")
|
||||
shell.Commit("only filterFile")
|
||||
}
|
||||
|
||||
func postFilterTest(t *TestDriver, keys config.KeybindingConfig) {
|
||||
t.Views().Information().Content(Contains("filtering by 'filterFile'"))
|
||||
|
||||
t.Views().Commits().
|
||||
IsFocused().
|
||||
Lines(
|
||||
Contains(`only filterFile`).IsSelected(),
|
||||
Contains(`both files`),
|
||||
).
|
||||
SelectNextItem().
|
||||
PressEnter()
|
||||
|
||||
// we only show the filtered file's changes in the main view
|
||||
t.Views().Main().
|
||||
Content(Contains("filterFile").DoesNotContain("otherFile"))
|
||||
|
||||
// when you click into the commit itself, you see all files from that commit
|
||||
t.Views().CommitFiles().
|
||||
IsFocused().
|
||||
Lines(
|
||||
Contains(`filterFile`),
|
||||
Contains(`otherFile`),
|
||||
)
|
||||
}
|
35
pkg/integration/tests/filter_by_path/type_file.go
Normal file
35
pkg/integration/tests/filter_by_path/type_file.go
Normal file
@ -0,0 +1,35 @@
|
||||
package filter_by_path
|
||||
|
||||
import (
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
. "github.com/jesseduffield/lazygit/pkg/integration/components"
|
||||
)
|
||||
|
||||
var TypeFile = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "Filter commits by file path, by finding file in UI and filtering on it",
|
||||
ExtraCmdArgs: "",
|
||||
Skip: false,
|
||||
SetupConfig: func(config *config.AppConfig) {
|
||||
},
|
||||
SetupRepo: func(shell *Shell) {
|
||||
commonSetup(shell)
|
||||
},
|
||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
||||
t.Views().Files().
|
||||
IsFocused().
|
||||
Press(keys.Universal.FilteringMenu)
|
||||
|
||||
t.ExpectPopup().Menu().
|
||||
Title(Equals("Filtering")).
|
||||
Select(Contains("enter path to filter by")).
|
||||
Confirm()
|
||||
|
||||
t.ExpectPopup().Prompt().
|
||||
Title(Equals("Enter path:")).
|
||||
Type("filterF").
|
||||
SuggestionLines(Equals("filterFile")).
|
||||
ConfirmFirstSuggestion()
|
||||
|
||||
postFilterTest(t, keys)
|
||||
},
|
||||
})
|
@ -18,6 +18,7 @@ import (
|
||||
"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/filter_by_path"
|
||||
"github.com/jesseduffield/lazygit/pkg/integration/tests/interactive_rebase"
|
||||
"github.com/jesseduffield/lazygit/pkg/integration/tests/misc"
|
||||
"github.com/jesseduffield/lazygit/pkg/integration/tests/stash"
|
||||
@ -67,6 +68,9 @@ var tests = []*components.IntegrationTest{
|
||||
diff.DiffCommits,
|
||||
sync.FetchPrune,
|
||||
sync.RenameBranchAndPull,
|
||||
filter_by_path.CliArg,
|
||||
filter_by_path.SelectFile,
|
||||
filter_by_path.TypeFile,
|
||||
}
|
||||
|
||||
func GetTests() []*components.IntegrationTest {
|
||||
|
@ -1 +0,0 @@
|
||||
test
|
@ -1 +0,0 @@
|
||||
ref: refs/heads/master
|
@ -1,10 +0,0 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
@ -1 +0,0 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
Binary file not shown.
@ -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
|
@ -1,7 +0,0 @@
|
||||
0000000000000000000000000000000000000000 f3d94fa1d4be39b8daae35b82525bf357aa712de CI <CI@example.com> 1617671367 +1000 commit (initial): file0
|
||||
f3d94fa1d4be39b8daae35b82525bf357aa712de 4b9d1f9f9fc76b123a5c90cd8396390cac41a3e3 CI <CI@example.com> 1617671367 +1000 commit: file1
|
||||
4b9d1f9f9fc76b123a5c90cd8396390cac41a3e3 d7236d5f85ad303f5f23141661e4c8959610b70b CI <CI@example.com> 1617671367 +1000 commit: file2
|
||||
d7236d5f85ad303f5f23141661e4c8959610b70b f24812da035a21812bc4c73018349ac2f0a6ec39 CI <CI@example.com> 1617671367 +1000 commit: file1 and file2
|
||||
f24812da035a21812bc4c73018349ac2f0a6ec39 8b476a1094290d7251c56305e199eb2a203d8682 CI <CI@example.com> 1617671367 +1000 commit: file
|
||||
8b476a1094290d7251c56305e199eb2a203d8682 af3ef564e968dbe92fb4e08a67dd5f835f43d4e8 CI <CI@example.com> 1617671375 +1000 commit: asd
|
||||
af3ef564e968dbe92fb4e08a67dd5f835f43d4e8 22adc4567aba3d1a0acf28b4cef312922d516aeb CI <CI@example.com> 1617671383 +1000 commit: test
|
@ -1,7 +0,0 @@
|
||||
0000000000000000000000000000000000000000 f3d94fa1d4be39b8daae35b82525bf357aa712de CI <CI@example.com> 1617671367 +1000 commit (initial): file0
|
||||
f3d94fa1d4be39b8daae35b82525bf357aa712de 4b9d1f9f9fc76b123a5c90cd8396390cac41a3e3 CI <CI@example.com> 1617671367 +1000 commit: file1
|
||||
4b9d1f9f9fc76b123a5c90cd8396390cac41a3e3 d7236d5f85ad303f5f23141661e4c8959610b70b CI <CI@example.com> 1617671367 +1000 commit: file2
|
||||
d7236d5f85ad303f5f23141661e4c8959610b70b f24812da035a21812bc4c73018349ac2f0a6ec39 CI <CI@example.com> 1617671367 +1000 commit: file1 and file2
|
||||
f24812da035a21812bc4c73018349ac2f0a6ec39 8b476a1094290d7251c56305e199eb2a203d8682 CI <CI@example.com> 1617671367 +1000 commit: file
|
||||
8b476a1094290d7251c56305e199eb2a203d8682 af3ef564e968dbe92fb4e08a67dd5f835f43d4e8 CI <CI@example.com> 1617671375 +1000 commit: asd
|
||||
af3ef564e968dbe92fb4e08a67dd5f835f43d4e8 22adc4567aba3d1a0acf28b4cef312922d516aeb CI <CI@example.com> 1617671383 +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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x+)JMU03c040031QHヒフI5`ーアコイ燹ヨカwチ�w.ス��モ[H
|
||||
矢y�5�来ミ(桍ァ^-ンW(x9
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x�ŽA
|
||||
à E»öîÅÑDG(¥�UŽ1Ž#
Ä‚…¿¡üÍçñy|nµn]C´—~Šè(ˆLfÌhs¶TRɳ�à¥@´.±euÐ)ﮧ3”8ÂÁ'°ŽfŽ†3ºèÝ(Ä�§èÓ_íÔ˪ïËú”/Õc—·úÐà‡>€óA_Á£§ºü9WeÛŪçî:6
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x��K
|
||||
Β0@]η³$“ί$ "tΥcL“ �¶”ίzw�Η[ΌΌµ6w0Ϊ\ϊ!D©H΄�Qs�”*'LΥΕβKvΥeAτ&�Q;²v(dl(ΎFΟΕj[}5†€βrL>ΤιIρ»Ώ¶†ξΓψ”·}‘[ήΪ0 B®¨µV§=§Ίό™«:/‚ΐk�υ_b;υ
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
22adc4567aba3d1a0acf28b4cef312922d516aeb
|
@ -1 +0,0 @@
|
||||
test4
|
@ -1 +0,0 @@
|
||||
test0
|
@ -1 +0,0 @@
|
||||
test2
|
@ -1 +0,0 @@
|
||||
{"KeyEvents":[{"Timestamp":1102,"Mod":0,"Key":13,"Ch":13},{"Timestamp":1422,"Mod":0,"Key":256,"Ch":32},{"Timestamp":1591,"Mod":0,"Key":258,"Ch":0},{"Timestamp":1718,"Mod":0,"Key":256,"Ch":32},{"Timestamp":2391,"Mod":2,"Key":16,"Ch":16},{"Timestamp":3318,"Mod":0,"Key":258,"Ch":0},{"Timestamp":3454,"Mod":0,"Key":258,"Ch":0},{"Timestamp":3686,"Mod":0,"Key":13,"Ch":13},{"Timestamp":4339,"Mod":0,"Key":27,"Ch":0},{"Timestamp":4725,"Mod":0,"Key":27,"Ch":0},{"Timestamp":5591,"Mod":0,"Key":260,"Ch":0},{"Timestamp":5903,"Mod":0,"Key":260,"Ch":0},{"Timestamp":6494,"Mod":0,"Key":256,"Ch":99},{"Timestamp":7046,"Mod":0,"Key":256,"Ch":97},{"Timestamp":7102,"Mod":0,"Key":256,"Ch":115},{"Timestamp":7157,"Mod":0,"Key":256,"Ch":100},{"Timestamp":7677,"Mod":0,"Key":13,"Ch":13},{"Timestamp":8261,"Mod":0,"Key":259,"Ch":0},{"Timestamp":8558,"Mod":0,"Key":259,"Ch":0},{"Timestamp":8990,"Mod":0,"Key":258,"Ch":0},{"Timestamp":9270,"Mod":0,"Key":258,"Ch":0},{"Timestamp":9910,"Mod":0,"Key":13,"Ch":13},{"Timestamp":10614,"Mod":0,"Key":256,"Ch":32},{"Timestamp":11278,"Mod":2,"Key":16,"Ch":16},{"Timestamp":11894,"Mod":0,"Key":258,"Ch":0},{"Timestamp":12046,"Mod":0,"Key":258,"Ch":0},{"Timestamp":12335,"Mod":0,"Key":13,"Ch":13},{"Timestamp":12761,"Mod":0,"Key":27,"Ch":0},{"Timestamp":13080,"Mod":0,"Key":27,"Ch":0},{"Timestamp":13822,"Mod":0,"Key":260,"Ch":0},{"Timestamp":14022,"Mod":0,"Key":260,"Ch":0},{"Timestamp":14630,"Mod":0,"Key":256,"Ch":99},{"Timestamp":14894,"Mod":0,"Key":256,"Ch":116},{"Timestamp":14958,"Mod":0,"Key":256,"Ch":101},{"Timestamp":15150,"Mod":0,"Key":256,"Ch":115},{"Timestamp":15207,"Mod":0,"Key":256,"Ch":116},{"Timestamp":15558,"Mod":0,"Key":13,"Ch":13},{"Timestamp":16294,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":272,"Height":74}]}
|
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
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 +0,0 @@
|
||||
{ "description": "Open lazygit with a filter path given", "speed": 10, "extraCmdArgs": "-f file1" }
|
@ -1 +0,0 @@
|
||||
test
|
@ -1 +0,0 @@
|
||||
ref: refs/heads/master
|
@ -1,10 +0,0 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
@ -1 +0,0 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
Binary file not shown.
@ -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
|
@ -1,6 +0,0 @@
|
||||
0000000000000000000000000000000000000000 703f7069185227287623aaba7cdb0e56ae7a6c60 CI <CI@example.com> 1617671384 +1000 commit (initial): file0
|
||||
703f7069185227287623aaba7cdb0e56ae7a6c60 a5c053a7a46bce2775edb371a9aa97424b542ab7 CI <CI@example.com> 1617671384 +1000 commit: file1
|
||||
a5c053a7a46bce2775edb371a9aa97424b542ab7 6cdce80c062ba2c8f8758879834a936b84ead78c CI <CI@example.com> 1617671384 +1000 commit: file2
|
||||
6cdce80c062ba2c8f8758879834a936b84ead78c c5f9a8793f15aa0db816944424adb4303eb036a8 CI <CI@example.com> 1617671384 +1000 commit: file1 and file2
|
||||
c5f9a8793f15aa0db816944424adb4303eb036a8 e7c2bd00356720683d5bc4362ef5b92655fa8914 CI <CI@example.com> 1617671384 +1000 commit: file
|
||||
e7c2bd00356720683d5bc4362ef5b92655fa8914 92ec47058a2894afbbbd69c5f79bff20c503e686 CI <CI@example.com> 1617671407 +1000 commit: test
|
@ -1,6 +0,0 @@
|
||||
0000000000000000000000000000000000000000 703f7069185227287623aaba7cdb0e56ae7a6c60 CI <CI@example.com> 1617671384 +1000 commit (initial): file0
|
||||
703f7069185227287623aaba7cdb0e56ae7a6c60 a5c053a7a46bce2775edb371a9aa97424b542ab7 CI <CI@example.com> 1617671384 +1000 commit: file1
|
||||
a5c053a7a46bce2775edb371a9aa97424b542ab7 6cdce80c062ba2c8f8758879834a936b84ead78c CI <CI@example.com> 1617671384 +1000 commit: file2
|
||||
6cdce80c062ba2c8f8758879834a936b84ead78c c5f9a8793f15aa0db816944424adb4303eb036a8 CI <CI@example.com> 1617671384 +1000 commit: file1 and file2
|
||||
c5f9a8793f15aa0db816944424adb4303eb036a8 e7c2bd00356720683d5bc4362ef5b92655fa8914 CI <CI@example.com> 1617671384 +1000 commit: file
|
||||
e7c2bd00356720683d5bc4362ef5b92655fa8914 92ec47058a2894afbbbd69c5f79bff20c503e686 CI <CI@example.com> 1617671407 +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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x�ŽK
|
||||
Ã0»ö)´/ËvlJ)d•c(²Lù\èñ›Þ »Ç0O¶e™8ë.íP…”rQò‘ѲPÊ•3æ¨tEB
¢ˆ�#ufçC×QŠ(Y±Ñ�ì„*¥ŽÎŽ|àìãHA¹$ÃïöÚè¸÷ÃS?¼ì³Þd[€SLè)Àµæ¤ç©¦ê¦N³"ðZà·œù̈<Î
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x+)JMU03c040031QHヒフI5`ーアコイ燹ヨカwチ�w.ス��モ[H
|
||||
矢y�5�来ミ(桍ァ^-ンW(x9
|
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
x�ÎA
|
||||
à @Ñ®=…ûBqtÔJ)d•cŒ:Ò@lB°Ðã7Gèöó¿l½/CC‚Ë8D4a&ëjñ$ÛJ3$™
|
||||
yô‚u¶¦\Ñ«�y}ÂÄ“kà™MÍ!!¢E®�q’�LŠ?ãµzšõ}šŸò徯r+[hCG¨¯`ŒQg=§†üÉU[VQ?¬9
|
@ -1 +0,0 @@
|
||||
92ec47058a2894afbbbd69c5f79bff20c503e686
|
@ -1 +0,0 @@
|
||||
test4
|
@ -1 +0,0 @@
|
||||
test0
|
@ -1 +0,0 @@
|
||||
test1
|
@ -1 +0,0 @@
|
||||
test4
|
@ -1 +0,0 @@
|
||||
{"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}]}
|
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
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 +0,0 @@
|
||||
{ "description": "Open filter path mode from within lazygit", "speed": 10 }
|
@ -1 +0,0 @@
|
||||
test
|
@ -1 +0,0 @@
|
||||
ref: refs/heads/master
|
@ -1,10 +0,0 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
@ -1 +0,0 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
Binary file not shown.
@ -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
|
@ -1,6 +0,0 @@
|
||||
0000000000000000000000000000000000000000 8ed4f7b4eae8cc97d9add459348cc95e936b8f25 CI <CI@example.com> 1617671409 +1000 commit (initial): file0
|
||||
8ed4f7b4eae8cc97d9add459348cc95e936b8f25 c1a1ba9d2873d7163606bb5fdf46e50975db042b CI <CI@example.com> 1617671409 +1000 commit: file1
|
||||
c1a1ba9d2873d7163606bb5fdf46e50975db042b 72226d27a85fff688d32c134a22ebe650d6c2e41 CI <CI@example.com> 1617671409 +1000 commit: file2
|
||||
72226d27a85fff688d32c134a22ebe650d6c2e41 b35d7fa77c939890020952987eeb461f410297d8 CI <CI@example.com> 1617671409 +1000 commit: file1 and file2
|
||||
b35d7fa77c939890020952987eeb461f410297d8 231410172e8f51138f06d8dff963898fb1e97b30 CI <CI@example.com> 1617671409 +1000 commit: file
|
||||
231410172e8f51138f06d8dff963898fb1e97b30 db6681a3e9fb9fb6ef524771cdc763904dd2b54d CI <CI@example.com> 1617671428 +1000 commit: test
|
@ -1,6 +0,0 @@
|
||||
0000000000000000000000000000000000000000 8ed4f7b4eae8cc97d9add459348cc95e936b8f25 CI <CI@example.com> 1617671409 +1000 commit (initial): file0
|
||||
8ed4f7b4eae8cc97d9add459348cc95e936b8f25 c1a1ba9d2873d7163606bb5fdf46e50975db042b CI <CI@example.com> 1617671409 +1000 commit: file1
|
||||
c1a1ba9d2873d7163606bb5fdf46e50975db042b 72226d27a85fff688d32c134a22ebe650d6c2e41 CI <CI@example.com> 1617671409 +1000 commit: file2
|
||||
72226d27a85fff688d32c134a22ebe650d6c2e41 b35d7fa77c939890020952987eeb461f410297d8 CI <CI@example.com> 1617671409 +1000 commit: file1 and file2
|
||||
b35d7fa77c939890020952987eeb461f410297d8 231410172e8f51138f06d8dff963898fb1e97b30 CI <CI@example.com> 1617671409 +1000 commit: file
|
||||
231410172e8f51138f06d8dff963898fb1e97b30 db6681a3e9fb9fb6ef524771cdc763904dd2b54d CI <CI@example.com> 1617671428 +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.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
xŤÍA
|
||||
Â0Fa×9Ĺ왉câ€�ĐUŹ‘4°ĐĐR"x|{·ŹŢ´¶6wŐSß\b6ł’ĺC*đ=Wěs©Ţ ¦ę]úô÷şÓ0Ňc_ř¦¶-¸Lk{’‰!Š˛ŃY�Ůő�tüÉ]ť°űŰ›+î
|
Binary file not shown.
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
x�ŽK
|
||||
Â0@]ç³$3ÍD„®<Ƙ™`¡iK‰àñ7p÷x¼Å+kkS²tê»*ĘEÓ-—s匹º$^Š«®(¢§¤d6Þué‰(EN¾ÖR’�
|
||||
Ž‰ô©Á[ …Ô¡áw;Œ¸Ž�»~¸m³^ÊÚn€cˆèl†3ZkÍa�©®æ¦N³"ð"ð#2_œÎ<{
|
@ -1,3 +0,0 @@
|
||||
xŤŽM
|
||||
Â0F]çł$?“¤"BW=Ćt2Á‚±ĄDđřÖ¸üďÁ'kkKGţÔwU(6'±ÄÂěKHu–Ěk ę�MH�Đ™Ťw}u´`Í3*ëptą—‚‘ţfT
|
||||
iŞŹ†ßý±î0Np§»~¸mO˝ČÚnŕ’Ë);´gg5=NuýS7uyŞ3_ Ë:n
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x+)JMU03c040031QHヒフI5`ーアコイ燹ヨカwチ�w.ス��モ[H
|
||||
矢y�5�来ミ(桍ァ^-ンW(x9
|
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
x�ÎM
|
||||
Â0@a×9Åì™ÉÏdE„®zŒ&� `l©<¾=‚ÛÇ·xemíÑ��ú®
|
||||
EX‚g„‘r*‘rä,ÉÕ„µÔè1+f›w}u°Ž<!E«R‘“Š¼ÈRkb'Ij&M1;4ó§ß×Æ †qºéwnÛS/emW ¦È‘¼8"š£S]ÿä¦ë»›7�
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
db6681a3e9fb9fb6ef524771cdc763904dd2b54d
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user