mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-04 23:37:41 +02:00
parent
890cc87724
commit
bf946200e9
@ -1115,7 +1115,7 @@ func (c *GitCommand) GetReflogCommits() ([]*Commit, error) {
|
|||||||
re := regexp.MustCompile(`(\w+).*HEAD@\{\d+\}: (.*)`)
|
re := regexp.MustCompile(`(\w+).*HEAD@\{\d+\}: (.*)`)
|
||||||
for i, line := range lines {
|
for i, line := range lines {
|
||||||
match := re.FindStringSubmatch(line)
|
match := re.FindStringSubmatch(line)
|
||||||
if len(match) == 1 {
|
if len(match) <= 1 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user