浏览代码

Revert "git: fix license"

This reverts commit 6e5dd89eb515fea6eec04f2859380cb67168b4c5.
Simon Legner 1 年之前
父节点
当前提交
892896c1d4
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      lib/docs/scrapers/git.rb

+ 4 - 3
lib/docs/scrapers/git.rb

@@ -15,10 +15,11 @@ module Docs
     options[:only_patterns] = [/\A\/[^\/]+\z/]
     options[:skip] = %w(/howto-index.html)
 
-    # https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt
+    # https://github.com/git/git?tab=License-1-ov-file#readme
+    # NOT https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt
     options[:attribution] = <<-HTML
-      &copy; 2012&ndash;2024 Scott Chacon and others<br>
-      Licensed under the MIT License.
+      &copy; 2005&ndash;2024 Linus Torvalds and others<br>
+      Licensed under the GNU General Public License version 2.
     HTML
 
     def get_latest_version(opts)