diff options
Diffstat (limited to 'pkg/commands/git.go')
-rw-r--r-- | pkg/commands/git.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 64a4aa9d1..e8bc25777 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -242,6 +242,10 @@ func (c *GitCommand) GetStatusFiles(opts GetStatusFileOptions) []*File { files := []*File{} for _, statusString := range statusStrings { + if strings.HasPrefix(statusString, "warning") { + c.Log.Warning(statusString) + continue + } change := statusString[0:2] stagedChange := change[0:1] unstagedChange := statusString[1:2] |