From 03de51747e04853dced1ff48ad6552dc518471e5 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sat, 13 Mar 2021 11:03:34 +1100 Subject: [PATCH] remove redundant addition --- pkg/commands/loading_commit_files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/loading_commit_files.go b/pkg/commands/loading_commit_files.go index ad209fdd3..ebadc3096 100644 --- a/pkg/commands/loading_commit_files.go +++ b/pkg/commands/loading_commit_files.go @@ -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 {