summaryrefslogtreecommitdiffstats
path: root/models/git
diff options
context:
space:
mode:
Diffstat (limited to 'models/git')
-rw-r--r--models/git/branches.go3
-rw-r--r--models/git/branches_test.go3
-rw-r--r--models/git/commit_status.go3
-rw-r--r--models/git/commit_status_test.go3
-rw-r--r--models/git/lfs.go3
-rw-r--r--models/git/lfs_lock.go3
-rw-r--r--models/git/main_test.go3
-rw-r--r--models/git/protected_tag.go3
-rw-r--r--models/git/protected_tag_test.go3
9 files changed, 9 insertions, 18 deletions
diff --git a/models/git/branches.go b/models/git/branches.go
index 328f6f0f0d..87246ed149 100644
--- a/models/git/branches.go
+++ b/models/git/branches.go
@@ -1,6 +1,5 @@
// Copyright 2016 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git
diff --git a/models/git/branches_test.go b/models/git/branches_test.go
index 754c5a4e66..038a4f6686 100644
--- a/models/git/branches_test.go
+++ b/models/git/branches_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git_test
diff --git a/models/git/commit_status.go b/models/git/commit_status.go
index df6f5ae7ea..411fbbe536 100644
--- a/models/git/commit_status.go
+++ b/models/git/commit_status.go
@@ -1,6 +1,5 @@
// Copyright 2017 Gitea. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git
diff --git a/models/git/commit_status_test.go b/models/git/commit_status_test.go
index 7b81b1549c..c829673014 100644
--- a/models/git/commit_status_test.go
+++ b/models/git/commit_status_test.go
@@ -1,6 +1,5 @@
// Copyright 2017 Gitea. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git_test
diff --git a/models/git/lfs.go b/models/git/lfs.go
index 87e07d7a5e..a86e84c050 100644
--- a/models/git/lfs.go
+++ b/models/git/lfs.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git
diff --git a/models/git/lfs_lock.go b/models/git/lfs_lock.go
index c5a8cc245e..3d765ea22b 100644
--- a/models/git/lfs_lock.go
+++ b/models/git/lfs_lock.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git
diff --git a/models/git/main_test.go b/models/git/main_test.go
index 41e6ac4704..5ef9cde607 100644
--- a/models/git/main_test.go
+++ b/models/git/main_test.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git_test
diff --git a/models/git/protected_tag.go b/models/git/protected_tag.go
index 4640a77b20..1d32b11366 100644
--- a/models/git/protected_tag.go
+++ b/models/git/protected_tag.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git
diff --git a/models/git/protected_tag_test.go b/models/git/protected_tag_test.go
index 352eed0060..164c33e28f 100644
--- a/models/git/protected_tag_test.go
+++ b/models/git/protected_tag_test.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package git_test