mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Rename Name to Path in File and CommitFile
Name was very confusing and misleading.
This commit is contained in:
@ -554,11 +554,11 @@ func (self *RefreshHelper) refreshStateFiles() error {
|
||||
prevConflictFileCount++
|
||||
}
|
||||
if file.HasInlineMergeConflicts {
|
||||
hasConflicts, err := mergeconflicts.FileHasConflictMarkers(file.Name)
|
||||
hasConflicts, err := mergeconflicts.FileHasConflictMarkers(file.Path)
|
||||
if err != nil {
|
||||
self.c.Log.Error(err)
|
||||
} else if !hasConflicts {
|
||||
pathsToStage = append(pathsToStage, file.Name)
|
||||
pathsToStage = append(pathsToStage, file.Path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user