1
0
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:
Jesse Duffield 2021-03-13 11:03:34 +11:00
parent 3d698cd7c1
commit 03de51747e

View File

@ -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 {