mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-03 13:21:56 +02:00
remove redundant addition
This commit is contained in:
parent
3d698cd7c1
commit
03de51747e
@ -30,7 +30,7 @@ func (c *GitCommand) getCommitFilesFromFilenames(filenames string, parent string
|
||||
n := len(lines)
|
||||
for i := 0; i < n-1; i += 2 {
|
||||
// typical result looks like 'A my_file' meaning my_file was added
|
||||
changeStatus := lines[i+0]
|
||||
changeStatus := lines[i]
|
||||
name := lines[i+1]
|
||||
status := patch.UNSELECTED
|
||||
if patchManager != nil && patchManager.To == parent {
|
||||
|
Loading…
x
Reference in New Issue
Block a user