mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Remove worktree version guards
Our min required git version is 2.20 so there's no need to add guards for worktrees because they were added in 2.5
This commit is contained in:
@ -69,7 +69,3 @@ func (v *GitVersion) IsOlderThan(major, minor, patch int) bool {
|
||||
func (v *GitVersion) IsOlderThanVersion(version *GitVersion) bool {
|
||||
return v.IsOlderThan(version.Major, version.Minor, version.Patch)
|
||||
}
|
||||
|
||||
func (v *GitVersion) SupportsWorktrees() bool {
|
||||
return !v.IsOlderThan(2, 5, 0)
|
||||
}
|
||||
|
Reference in New Issue
Block a user