Repository: gohugoio/hugo (language: go)

Issue:
Apache license is not meant to be modified
c98348416cfa90026ef8fba93d6c0babe0f41d52 modified the Apache license itself: That snippet is part of the Apache license appendix, which instructs the licensor on how to apply the license. It is not meant to be modified per project in place; rather, it is a boilerplate intended to be copied and attached elsewhere (hopefully in multiple places) in the project.

#10218


Discussion / hints:

Fix patch:
diff --git a/LICENSE b/LICENSE
index ad3850b60a3..261eeb9e9f8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -186,7 +186,7 @@
       same "printed page" as the copyright notice for easier
       identification within third-party archives.
 
-   Copyright 2022 The Hugo Authors.
+   Copyright [yyyy] [name of copyright owner]
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.


Test patch: