mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
Properly render worktrees in files panel
This commit is contained in:
parent
b73efb2c22
commit
7b05dacb98
6 changed files with 79 additions and 27 deletions
|
@ -41,7 +41,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "MM file1.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "MM",
|
||||
},
|
||||
{
|
||||
|
@ -54,7 +53,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "A file3.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "A ",
|
||||
},
|
||||
{
|
||||
|
@ -67,7 +65,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "AM file2.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "AM",
|
||||
},
|
||||
{
|
||||
|
@ -80,7 +77,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "?? file4.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "??",
|
||||
},
|
||||
{
|
||||
|
@ -93,7 +89,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: true,
|
||||
HasInlineMergeConflicts: true,
|
||||
DisplayString: "UU file5.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "UU",
|
||||
},
|
||||
},
|
||||
|
@ -113,7 +108,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "MM a\nb.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "MM",
|
||||
},
|
||||
},
|
||||
|
@ -137,7 +131,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "R before1.txt -> after1.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "R ",
|
||||
},
|
||||
{
|
||||
|
@ -151,7 +144,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "RM before2.txt -> after2.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "RM",
|
||||
},
|
||||
},
|
||||
|
@ -174,7 +166,6 @@ func TestFileGetStatusFiles(t *testing.T) {
|
|||
HasMergeConflicts: false,
|
||||
HasInlineMergeConflicts: false,
|
||||
DisplayString: "?? a -> b.txt",
|
||||
Type: "file",
|
||||
ShortStatus: "??",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue