Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/git/proto.go')
-rw-r--r--internal/git/proto.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/git/proto.go b/internal/git/proto.go
index 17323c600..dce5408f8 100644
--- a/internal/git/proto.go
+++ b/internal/git/proto.go
@@ -100,7 +100,6 @@ func VersionLessThan(v1Str, v2Str string) (bool, error) {
func versionLessThan(v1, v2 version) bool {
switch {
-
case v1.major < v2.major:
return true
case v1.major > v2.major:
@@ -119,7 +118,6 @@ func versionLessThan(v1, v2 version) bool {
default:
// this should only be reachable when versions are equal
return false
-
}
}