summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2021-08-16 23:21:46 +0900
committerRyooooooga <eial5q265e5@gmail.com>2021-08-16 23:21:46 +0900
commita2f7fcd7303e4ee55cceb50605db8d0581711e2d (patch)
tree5bb2f7968b4b8459bb8497644bc69357bc98c3f6
parentf96674b24bc161851a22a9207c84350006b65455 (diff)
Remove unused constant
-rw-r--r--pkg/commands/loading_files.go2
-rw-r--r--pkg/commands/models/file.go2
2 files changed, 0 insertions, 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 != ""
}