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:
authorToon Claes <toon@gitlab.com>2022-07-08 16:33:05 +0300
committerToon Claes <toon@gitlab.com>2022-07-13 22:34:49 +0300
commitee72847bea77a0636fbacd60fe9c2f27aee186f6 (patch)
tree9a7863757fe94aff871dc248253e55db261a3bb9
parent53fd83a9c21e89bf1bfb9b7f918b9bcfa3ef776a (diff)
golang: Remove v1.16 build tags
We recently switched to using Golang version 1.17 or higher, so we can drop the old-style build tags.
-rw-r--r--cmd/gitaly-git2go-v15/apply.go1
-rw-r--r--cmd/gitaly-git2go-v15/cherry_pick.go1
-rw-r--r--cmd/gitaly-git2go-v15/cherry_pick_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/change_file_mode.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/commit.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/create_directory.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/create_file.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/delete_file.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/move_file.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/update_file.go1
-rw-r--r--cmd/gitaly-git2go-v15/commit/validate.go1
-rw-r--r--cmd/gitaly-git2go-v15/conflicts.go1
-rw-r--r--cmd/gitaly-git2go-v15/conflicts_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/featureflags.go1
-rw-r--r--cmd/gitaly-git2go-v15/main.go1
-rw-r--r--cmd/gitaly-git2go-v15/merge.go1
-rw-r--r--cmd/gitaly-git2go-v15/merge_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/rebase.go1
-rw-r--r--cmd/gitaly-git2go-v15/rebase_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/resolve_conflicts.go1
-rw-r--r--cmd/gitaly-git2go-v15/revert.go1
-rw-r--r--cmd/gitaly-git2go-v15/revert_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/submodule.go1
-rw-r--r--cmd/gitaly-git2go-v15/submodule_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/testhelper_test.go1
-rw-r--r--cmd/gitaly-git2go-v15/util.go1
-rw-r--r--internal/cgroups/v1.go1
-rw-r--r--internal/git/catfile/object_info_reader_fuzz.go1
-rw-r--r--internal/gitaly/service/server/storage_status_unix.go1
-rw-r--r--internal/helper/fstype/detect_unix.go1
-rw-r--r--internal/ps/rss.go1
-rw-r--r--internal/streamcache/sendfile_test.go1
-rw-r--r--internal/x509/pool.go1
34 files changed, 0 insertions, 34 deletions
diff --git a/cmd/gitaly-git2go-v15/apply.go b/cmd/gitaly-git2go-v15/apply.go
index 32ee50e72..2bd20b631 100644
--- a/cmd/gitaly-git2go-v15/apply.go
+++ b/cmd/gitaly-git2go-v15/apply.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/cherry_pick.go b/cmd/gitaly-git2go-v15/cherry_pick.go
index 0b991a812..ada0c3b97 100644
--- a/cmd/gitaly-git2go-v15/cherry_pick.go
+++ b/cmd/gitaly-git2go-v15/cherry_pick.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/cherry_pick_test.go b/cmd/gitaly-git2go-v15/cherry_pick_test.go
index cb4b3329f..be806c973 100644
--- a/cmd/gitaly-git2go-v15/cherry_pick_test.go
+++ b/cmd/gitaly-git2go-v15/cherry_pick_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/commit.go b/cmd/gitaly-git2go-v15/commit.go
index 540135256..e6789e424 100644
--- a/cmd/gitaly-git2go-v15/commit.go
+++ b/cmd/gitaly-git2go-v15/commit.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/commit/change_file_mode.go b/cmd/gitaly-git2go-v15/commit/change_file_mode.go
index 6e70b0c5a..e07db9ba4 100644
--- a/cmd/gitaly-git2go-v15/commit/change_file_mode.go
+++ b/cmd/gitaly-git2go-v15/commit/change_file_mode.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/commit.go b/cmd/gitaly-git2go-v15/commit/commit.go
index 51f6020bc..43a07d012 100644
--- a/cmd/gitaly-git2go-v15/commit/commit.go
+++ b/cmd/gitaly-git2go-v15/commit/commit.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/create_directory.go b/cmd/gitaly-git2go-v15/commit/create_directory.go
index fa1ecd742..061666ed3 100644
--- a/cmd/gitaly-git2go-v15/commit/create_directory.go
+++ b/cmd/gitaly-git2go-v15/commit/create_directory.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/create_file.go b/cmd/gitaly-git2go-v15/commit/create_file.go
index fe88d45e5..926916561 100644
--- a/cmd/gitaly-git2go-v15/commit/create_file.go
+++ b/cmd/gitaly-git2go-v15/commit/create_file.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/delete_file.go b/cmd/gitaly-git2go-v15/commit/delete_file.go
index 62601235d..a5af77b7b 100644
--- a/cmd/gitaly-git2go-v15/commit/delete_file.go
+++ b/cmd/gitaly-git2go-v15/commit/delete_file.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/move_file.go b/cmd/gitaly-git2go-v15/commit/move_file.go
index 9a6a290d6..b31853c96 100644
--- a/cmd/gitaly-git2go-v15/commit/move_file.go
+++ b/cmd/gitaly-git2go-v15/commit/move_file.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/update_file.go b/cmd/gitaly-git2go-v15/commit/update_file.go
index 6c2ef74a3..cea5d629b 100644
--- a/cmd/gitaly-git2go-v15/commit/update_file.go
+++ b/cmd/gitaly-git2go-v15/commit/update_file.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/commit/validate.go b/cmd/gitaly-git2go-v15/commit/validate.go
index 706ae45ce..ab3f972b1 100644
--- a/cmd/gitaly-git2go-v15/commit/validate.go
+++ b/cmd/gitaly-git2go-v15/commit/validate.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package commit
diff --git a/cmd/gitaly-git2go-v15/conflicts.go b/cmd/gitaly-git2go-v15/conflicts.go
index a569533c1..c29f729df 100644
--- a/cmd/gitaly-git2go-v15/conflicts.go
+++ b/cmd/gitaly-git2go-v15/conflicts.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/conflicts_test.go b/cmd/gitaly-git2go-v15/conflicts_test.go
index 4551ceb7c..5e24b91bb 100644
--- a/cmd/gitaly-git2go-v15/conflicts_test.go
+++ b/cmd/gitaly-git2go-v15/conflicts_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/featureflags.go b/cmd/gitaly-git2go-v15/featureflags.go
index 669fe0445..720320901 100644
--- a/cmd/gitaly-git2go-v15/featureflags.go
+++ b/cmd/gitaly-git2go-v15/featureflags.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2 && gitaly_test
-// +build static,system_libgit2,gitaly_test
package main
diff --git a/cmd/gitaly-git2go-v15/main.go b/cmd/gitaly-git2go-v15/main.go
index 2ce2796ae..e8a2c2c7b 100644
--- a/cmd/gitaly-git2go-v15/main.go
+++ b/cmd/gitaly-git2go-v15/main.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/merge.go b/cmd/gitaly-git2go-v15/merge.go
index 313a22f4e..3a1d8bfb8 100644
--- a/cmd/gitaly-git2go-v15/merge.go
+++ b/cmd/gitaly-git2go-v15/merge.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/merge_test.go b/cmd/gitaly-git2go-v15/merge_test.go
index 8f1b79968..c86056c6b 100644
--- a/cmd/gitaly-git2go-v15/merge_test.go
+++ b/cmd/gitaly-git2go-v15/merge_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/rebase.go b/cmd/gitaly-git2go-v15/rebase.go
index a385094e9..e2cc3022f 100644
--- a/cmd/gitaly-git2go-v15/rebase.go
+++ b/cmd/gitaly-git2go-v15/rebase.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/rebase_test.go b/cmd/gitaly-git2go-v15/rebase_test.go
index a7df2a912..5e86bda1a 100644
--- a/cmd/gitaly-git2go-v15/rebase_test.go
+++ b/cmd/gitaly-git2go-v15/rebase_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/resolve_conflicts.go b/cmd/gitaly-git2go-v15/resolve_conflicts.go
index ff73ee749..aa6159262 100644
--- a/cmd/gitaly-git2go-v15/resolve_conflicts.go
+++ b/cmd/gitaly-git2go-v15/resolve_conflicts.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/revert.go b/cmd/gitaly-git2go-v15/revert.go
index 8c84f909f..9c66c4865 100644
--- a/cmd/gitaly-git2go-v15/revert.go
+++ b/cmd/gitaly-git2go-v15/revert.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/revert_test.go b/cmd/gitaly-git2go-v15/revert_test.go
index 5cea73d44..8d0294ff7 100644
--- a/cmd/gitaly-git2go-v15/revert_test.go
+++ b/cmd/gitaly-git2go-v15/revert_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/submodule.go b/cmd/gitaly-git2go-v15/submodule.go
index 08c893cef..3c2f2e0eb 100644
--- a/cmd/gitaly-git2go-v15/submodule.go
+++ b/cmd/gitaly-git2go-v15/submodule.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/submodule_test.go b/cmd/gitaly-git2go-v15/submodule_test.go
index 3669a1559..11d6ee065 100644
--- a/cmd/gitaly-git2go-v15/submodule_test.go
+++ b/cmd/gitaly-git2go-v15/submodule_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/testhelper_test.go b/cmd/gitaly-git2go-v15/testhelper_test.go
index 21fc90b13..a3ceafa8a 100644
--- a/cmd/gitaly-git2go-v15/testhelper_test.go
+++ b/cmd/gitaly-git2go-v15/testhelper_test.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/cmd/gitaly-git2go-v15/util.go b/cmd/gitaly-git2go-v15/util.go
index feed724ab..7a94371c3 100644
--- a/cmd/gitaly-git2go-v15/util.go
+++ b/cmd/gitaly-git2go-v15/util.go
@@ -1,5 +1,4 @@
//go:build static && system_libgit2
-// +build static,system_libgit2
package main
diff --git a/internal/cgroups/v1.go b/internal/cgroups/v1.go
index b7048c6c7..545f27bed 100644
--- a/internal/cgroups/v1.go
+++ b/internal/cgroups/v1.go
@@ -1,5 +1,4 @@
//go:build !linux
-// +build !linux
package cgroups
diff --git a/internal/git/catfile/object_info_reader_fuzz.go b/internal/git/catfile/object_info_reader_fuzz.go
index 130abb4e7..f5227668f 100644
--- a/internal/git/catfile/object_info_reader_fuzz.go
+++ b/internal/git/catfile/object_info_reader_fuzz.go
@@ -1,5 +1,4 @@
//go:build gofuzz
-// +build gofuzz
package catfile
diff --git a/internal/gitaly/service/server/storage_status_unix.go b/internal/gitaly/service/server/storage_status_unix.go
index f129e4a34..aae1836bd 100644
--- a/internal/gitaly/service/server/storage_status_unix.go
+++ b/internal/gitaly/service/server/storage_status_unix.go
@@ -1,5 +1,4 @@
//go:build !openbsd
-// +build !openbsd
package server
diff --git a/internal/helper/fstype/detect_unix.go b/internal/helper/fstype/detect_unix.go
index d82985789..a7e39bf17 100644
--- a/internal/helper/fstype/detect_unix.go
+++ b/internal/helper/fstype/detect_unix.go
@@ -1,5 +1,4 @@
//go:build darwin || dragonfly || freebsd
-// +build darwin dragonfly freebsd
package fstype
diff --git a/internal/ps/rss.go b/internal/ps/rss.go
index 3bee36771..4b7c33059 100644
--- a/internal/ps/rss.go
+++ b/internal/ps/rss.go
@@ -1,5 +1,4 @@
//go:build !linux
-// +build !linux
package ps
diff --git a/internal/streamcache/sendfile_test.go b/internal/streamcache/sendfile_test.go
index 3f1329087..f2f511d4e 100644
--- a/internal/streamcache/sendfile_test.go
+++ b/internal/streamcache/sendfile_test.go
@@ -1,5 +1,4 @@
//go:build linux
-// +build linux
package streamcache
diff --git a/internal/x509/pool.go b/internal/x509/pool.go
index c96a9db67..7030fb638 100644
--- a/internal/x509/pool.go
+++ b/internal/x509/pool.go
@@ -1,5 +1,4 @@
//go:build !darwin
-// +build !darwin
package x509