mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Rename Name to Path in File and CommitFile
Name was very confusing and misleading.
This commit is contained in:
@ -51,7 +51,7 @@ func (self *FileNode) GetHasInlineMergeConflicts() bool {
|
||||
if !file.HasInlineMergeConflicts {
|
||||
return false
|
||||
}
|
||||
hasConflicts, _ := mergeconflicts.FileHasConflictMarkers(file.Name)
|
||||
hasConflicts, _ := mergeconflicts.FileHasConflictMarkers(file.Path)
|
||||
return hasConflicts
|
||||
})
|
||||
}
|
||||
@ -69,5 +69,5 @@ func (self *FileNode) GetPreviousPath() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
return self.File.PreviousName
|
||||
return self.File.PreviousPath
|
||||
}
|
||||
|
Reference in New Issue
Block a user