From a2f7fcd7303e4ee55cceb50605db8d0581711e2d Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Mon, 16 Aug 2021 23:21:46 +0900 Subject: [PATCH] Remove unused constant --- pkg/commands/loading_files.go | 2 -- pkg/commands/models/file.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkg/commands/loading_files.go b/pkg/commands/loading_files.go index cd94fa163..d3638a724 100644 --- a/pkg/commands/loading_files.go +++ b/pkg/commands/loading_files.go @@ -8,8 +8,6 @@ import ( "github.com/jesseduffield/lazygit/pkg/utils" ) -const RENAME_SEPARATOR = " -> " - // GetStatusFiles git status files type GetStatusFileOptions struct { NoRenames bool diff --git a/pkg/commands/models/file.go b/pkg/commands/models/file.go index 0bbca78ae..6ab34d6ab 100644 --- a/pkg/commands/models/file.go +++ b/pkg/commands/models/file.go @@ -29,8 +29,6 @@ type IFile interface { GetPath() string } -const RENAME_SEPARATOR = " -> " - func (f *File) IsRename() bool { return f.PreviousName != "" }