mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-26 05:37:18 +02:00
totally screwed up the last commit
This commit is contained in:
parent
b97f844a3e
commit
cc13ae252a
@ -215,7 +215,7 @@ func (c *CommitListBuilder) getInteractiveRebasingCommits() ([]*Commit, error) {
|
|||||||
if line == "" || line == "noop" {
|
if line == "" || line == "noop" {
|
||||||
return commits, nil
|
return commits, nil
|
||||||
}
|
}
|
||||||
if strings.HasPrefix("#", line) {
|
if strings.HasPrefix(line, "#") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
splitLine := strings.Split(line, " ")
|
splitLine := strings.Split(line, " ")
|
||||||
@ -227,7 +227,7 @@ func (c *CommitListBuilder) getInteractiveRebasingCommits() ([]*Commit, error) {
|
|||||||
}}, commits...)
|
}}, commits...)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, nil
|
return commits, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// assuming the file starts like this:
|
// assuming the file starts like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user