mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
generalise patch building stuff
This commit is contained in:
@ -1061,7 +1061,7 @@ func (c *GitCommand) GetFilesInRef(parent string, isStash bool, patchManager *pa
|
||||
|
||||
for _, file := range strings.Split(strings.TrimRight(files, "\n"), "\n") {
|
||||
status := patch.UNSELECTED
|
||||
if patchManager != nil && patchManager.CommitSha == parent {
|
||||
if patchManager != nil && patchManager.Parent == parent {
|
||||
status = patchManager.GetFileStatus(file)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user