Jelajahi Sumber

git: update attribution to doc's license instead of git's license

Jasper van Merle 6 tahun lalu
induk
melakukan
d50bf368a0

+ 3 - 3
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -298,9 +298,9 @@ credits = [
     'https://www.gnu.org/licenses/fdl-1.3.en.html'
   ], [
     'Git',
-    '2005-2018 Linus Torvalds and others',
-    'GPLv2',
-    'https://raw.githubusercontent.com/git/git/master/COPYING'
+    '2012-2018 Scott Chacon and others',
+    'MIT',
+    'https://raw.githubusercontent.com/git/git-scm.com/master/MIT-LICENSE.txt'
   ], [
     'Go',
     'Google, Inc.',

+ 2 - 2
lib/docs/scrapers/git.rb

@@ -16,8 +16,8 @@ module Docs
     options[:skip] = %w(/howto-index.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2005&ndash;2018 Linus Torvalds and others<br>
-      Licensed under the GNU General Public License version 2.
+      &copy; 2012&ndash;2018 Scott Chacon and others<br>
+      Licensed under the MIT License.
     HTML
 
     def get_latest_version(opts)