diff options
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 7aceb4610..1e4f1e990 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -1115,7 +1115,7 @@ func (c *GitCommand) GetReflogCommits() ([]*Commit, error) { re := regexp.MustCompile(`(\w+).*HEAD@\{\d+\}: (.*)`) for i, line := range lines { match := re.FindStringSubmatch(line) - if len(match) == 1 { + if len(match) <= 1 { continue } |