Git fork

Merge branch 'js/update-urls-in-doc-and-comment'

Stale URLs have been updated to their current counterparts (or
archive.org) and HTTP links are replaced with working HTTPS links.

* js/update-urls-in-doc-and-comment:
doc: refer to internet archive
doc: update links for andre-simon.de
doc: switch links to https
doc: update links to current pages

+81 -81
+1 -1
Documentation/CodingGuidelines
··· 518 519 For Python scripts: 520 521 - - We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/). 522 523 - As a minimum, we aim to be compatible with Python 2.7. 524
··· 518 519 For Python scripts: 520 521 + - We follow PEP-8 (https://peps.python.org/pep-0008/). 522 523 - As a minimum, we aim to be compatible with Python 2.7. 524
+1 -1
Documentation/MyFirstContribution.txt
··· 833 the GitHub PR workflow. It allows contributors to open pull requests against its 834 mirror of the Git project, and does some magic to turn the PR into a set of 835 emails and send them out for you. It also runs the Git continuous integration 836 - suite for you. It's documented at http://gitgitgadget.github.io. 837 838 [[create-fork]] 839 === Forking `git/git` on GitHub
··· 833 the GitHub PR workflow. It allows contributors to open pull requests against its 834 mirror of the Git project, and does some magic to turn the PR into a set of 835 emails and send them out for you. It also runs the Git continuous integration 836 + suite for you. It's documented at https://gitgitgadget.github.io/. 837 838 [[create-fork]] 839 === Forking `git/git` on GitHub
+1 -1
Documentation/RelNotes/1.6.2.txt
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 - http://git.or.cz/gitwiki/GitFaq#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
+1 -1
Documentation/RelNotes/1.6.3.txt
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 - http://git.or.cz/gitwiki/GitFaq#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
+1 -1
Documentation/RelNotes/1.6.4.txt
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 - http://git.or.cz/gitwiki/GitFaq#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
··· 10 push running this release will issue a big warning when the 11 configuration variable is missing. Please refer to: 12 13 + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare 14 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 15 16 for more details on the reason why this change is needed and the
+1 -1
Documentation/RelNotes/1.6.5.txt
··· 21 push running this release will issue a big warning when the 22 configuration variable is missing. Please refer to: 23 24 - http://git.or.cz/gitwiki/GitFaq#non-bare 25 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 26 27 for more details on the reason why this change is needed and the
··· 21 push running this release will issue a big warning when the 22 configuration variable is missing. Please refer to: 23 24 + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare 25 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 26 27 for more details on the reason why this change is needed and the
+1 -1
Documentation/RelNotes/1.6.6.txt
··· 63 64 Please refer to: 65 66 - http://git.or.cz/gitwiki/GitFaq#non-bare 67 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 68 69 for more details on the reason why this change is needed and the
··· 63 64 Please refer to: 65 66 + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare 67 https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ 68 69 for more details on the reason why this change is needed and the
+2 -2
Documentation/git-cvsimport.txt
··· 22 deprecated; it does not work with cvsps version 3 and later. If you are 23 performing a one-shot import of a CVS repository consider using 24 http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or 25 - http://www.catb.org/esr/cvs-fast-export/[cvs-fast-export]. 26 27 Imports a CVS repository into Git. It will either create a new 28 repository, or incrementally import into an existing one. ··· 221 If you suspect that any of these issues may apply to the repository you 222 want to import, consider using cvs2git: 223 224 - * cvs2git (part of cvs2svn), `http://subversion.apache.org/` 225 226 GIT 227 ---
··· 22 deprecated; it does not work with cvsps version 3 and later. If you are 23 performing a one-shot import of a CVS repository consider using 24 http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or 25 + https://gitlab.com/esr/cvs-fast-export[cvs-fast-export]. 26 27 Imports a CVS repository into Git. It will either create a new 28 repository, or incrementally import into an existing one. ··· 221 If you suspect that any of these issues may apply to the repository you 222 want to import, consider using cvs2git: 223 224 + * cvs2git (part of cvs2svn), `https://subversion.apache.org/` 225 226 GIT 227 ---
+2 -2
Documentation/git-format-patch.txt
··· 610 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 611 612 The following Thunderbird extensions are needed: 613 - AboutConfig from http://aboutconfig.mozdev.org/ and 614 - External Editor from http://globs.org/articles.php?lng=en&pg=8 615 616 1. Prepare the patch as a text file using your method of choice. 617
··· 610 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 611 612 The following Thunderbird extensions are needed: 613 + AboutConfig from https://mjg.github.io/AboutConfig/ and 614 + External Editor from https://globs.org/articles.php?lng=en&pg=8 615 616 1. Prepare the patch as a text file using your method of choice. 617
+1 -1
Documentation/git-imap-send.txt
··· 135 136 Thunderbird in particular is known to be problematic. Thunderbird 137 users may wish to visit this web page for more information: 138 - http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email 139 140 SEE ALSO 141 --------
··· 135 136 Thunderbird in particular is known to be problematic. Thunderbird 137 users may wish to visit this web page for more information: 138 + https://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email 139 140 SEE ALSO 141 --------
+1 -1
Documentation/git-send-email.txt
··· 454 998 characters unless a suitable transfer encoding 455 ('auto', 'base64', or 'quoted-printable') is used; 456 this is due to SMTP limits as described by 457 - http://www.ietf.org/rfc/rfc5322.txt. 458 -- 459 + 460 Default is the value of `sendemail.validate`; if this is not set,
··· 454 998 characters unless a suitable transfer encoding 455 ('auto', 'base64', or 'quoted-printable') is used; 456 this is due to SMTP limits as described by 457 + https://www.ietf.org/rfc/rfc5322.txt. 458 -- 459 + 460 Default is the value of `sendemail.validate`; if this is not set,
+1 -1
Documentation/git.txt
··· 1071 ------- 1072 Git was started by Linus Torvalds, and is currently maintained by Junio 1073 C Hamano. Numerous contributions have come from the Git mailing list 1074 - <git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary 1075 gives you a more complete list of contributors. 1076 1077 If you have a clone of git.git itself, the
··· 1071 ------- 1072 Git was started by Linus Torvalds, and is currently maintained by Junio 1073 C Hamano. Numerous contributions have come from the Git mailing list 1074 + <git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary 1075 gives you a more complete list of contributors. 1076 1077 If you have a clone of git.git itself, the
+1 -1
Documentation/gitcore-tutorial.txt
··· 1089 like this: 1090 1091 ------------------------------------------------ 1092 - $ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/ 1093 ------------------------------------------------ 1094 1095 and use the "linus" keyword with 'git pull' instead of the full URL.
··· 1089 like this: 1090 1091 ------------------------------------------------ 1092 + $ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/ 1093 ------------------------------------------------ 1094 1095 and use the "linus" keyword with 'git pull' instead of the full URL.
+2 -2
Documentation/gitprotocol-http.txt
··· 529 REFERENCES 530 ---------- 531 532 - http://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] 533 - http://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] 534 535 SEE ALSO 536 --------
··· 529 REFERENCES 530 ---------- 531 532 + https://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] 533 + https://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] 534 535 SEE ALSO 536 --------
+2 -2
Documentation/gitweb.conf.txt
··· 242 243 $highlight_bin:: 244 Path to the highlight executable to use (it must be the one from 245 - http://www.andre-simon.de[] due to assumptions about parameters and output). 246 By default set to 'highlight'; set it to full path to highlight 247 executable if it is not installed on your web server's PATH. 248 Note that 'highlight' feature must be set for gitweb to actually ··· 820 (\'h' gitweb parameter) and `%b` to the current hash base 821 (\'hb' gitweb parameter); `%%` expands to \'%'. 822 + 823 - For example, at the time this page was written, the http://repo.or.cz[] 824 Git hosting site set it to the following to enable graphical log 825 (using the third party tool *git-browser*): 826 +
··· 242 243 $highlight_bin:: 244 Path to the highlight executable to use (it must be the one from 245 + http://andre-simon.de/zip/download.php[] due to assumptions about parameters and output). 246 By default set to 'highlight'; set it to full path to highlight 247 executable if it is not installed on your web server's PATH. 248 Note that 'highlight' feature must be set for gitweb to actually ··· 820 (\'h' gitweb parameter) and `%b` to the current hash base 821 (\'hb' gitweb parameter); `%%` expands to \'%'. 822 + 823 + For example, at the time this page was written, the https://repo.or.cz[] 824 Git hosting site set it to the following to enable graphical log 825 (using the third party tool *git-browser*): 826 +
+1 -1
Documentation/gitweb.txt
··· 28 revisions one at a time, viewing the history of the repository. 29 * Finding commits whose commit messages match a given search term. 30 31 - See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, 32 browsed using gitweb itself. 33 34
··· 28 revisions one at a time, viewing the history of the repository. 29 * Finding commits whose commit messages match a given search term. 30 31 + See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, 32 browsed using gitweb itself. 33 34
+1 -1
Documentation/howto/keep-canonical-history-correct.txt
··· 213 B0--B1---------B2 214 ------------ 215 216 - See also http://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html
··· 213 B0--B1---------B2 214 ------------ 215 216 + See also https://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html
+1 -1
Documentation/signoff-option.txt
··· 9 the committer has the rights to submit the work under the 10 project's license or agrees to some contributor representation, 11 such as a Developer Certificate of Origin. 12 - (See http://developercertificate.org for the one used by the 13 Linux kernel and Git projects.) Consult the documentation or 14 leadership of the project to which you're contributing to 15 understand how the signoffs are used in that project.
··· 9 the committer has the rights to submit the work under the 10 project's license or agrees to some contributor representation, 11 such as a Developer Certificate of Origin. 12 + (See https://developercertificate.org for the one used by the 13 Linux kernel and Git projects.) Consult the documentation or 14 leadership of the project to which you're contributing to 15 understand how the signoffs are used in that project.
+1 -1
INSTALL
··· 124 interacting with svn repositories with "git svn"). If you can 125 live without these, use NO_PERL. Note that recent releases of 126 Redhat/Fedora are reported to ship Perl binary package with some 127 - core modules stripped away (see http://lwn.net/Articles/477234/), 128 so you might need to install additional packages other than Perl 129 itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain, 130 Net::SMTP, and Time::HiRes.
··· 124 interacting with svn repositories with "git svn"). If you can 125 live without these, use NO_PERL. Note that recent releases of 126 Redhat/Fedora are reported to ship Perl binary package with some 127 + core modules stripped away (see https://lwn.net/Articles/477234/), 128 so you might need to install additional packages other than Perl 129 itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain, 130 Net::SMTP, and Time::HiRes.
+2 -2
Makefile
··· 186 # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound. 187 # 188 # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback, 189 - # as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) 190 # 191 # Define USE_NSEC below if you want git to care about sub-second file mtimes 192 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On ··· 2734 2735 ifdef USE_COMPUTED_HEADER_DEPENDENCIES 2736 # Take advantage of gcc's on-the-fly dependency generation 2737 - # See <http://gcc.gnu.org/gcc-3.0/features.html>. 2738 dep_files_present := $(wildcard $(dep_files)) 2739 ifneq ($(dep_files_present),) 2740 include $(dep_files_present)
··· 186 # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound. 187 # 188 # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback, 189 + # as the compiler can crash (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) 190 # 191 # Define USE_NSEC below if you want git to care about sub-second file mtimes 192 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On ··· 2734 2735 ifdef USE_COMPUTED_HEADER_DEPENDENCIES 2736 # Take advantage of gcc's on-the-fly dependency generation 2737 + # See <https://gcc.gnu.org/gcc-3.0/features.html>. 2738 dep_files_present := $(wildcard $(dep_files)) 2739 ifneq ($(dep_files_present),) 2740 include $(dep_files_present)
+1 -1
README.md
··· 42 To subscribe to the list, send an email with just "subscribe git" in 43 the body to majordomo@vger.kernel.org (not the Git list). The mailing 44 list archives are available at <https://lore.kernel.org/git/>, 45 - <http://marc.info/?l=git> and other archival sites. 46 47 Issues which are security relevant should be disclosed privately to 48 the Git Security mailing list <git-security@googlegroups.com>.
··· 42 To subscribe to the list, send an email with just "subscribe git" in 43 the body to majordomo@vger.kernel.org (not the Git list). The mailing 44 list archives are available at <https://lore.kernel.org/git/>, 45 + <https://marc.info/?l=git> and other archival sites. 46 47 Issues which are security relevant should be disclosed privately to 48 the Git Security mailing list <git-security@googlegroups.com>.
+1 -1
git-cvsimport.perl
··· 329 # Use a HTTP Proxy. Only works for HTTP proxies that 330 # don't require user authentication 331 # 332 - # See: http://www.ietf.org/rfc/rfc2817.txt 333 334 $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport); 335 die "Socket to $proxyhost: $!\n" unless defined $s;
··· 329 # Use a HTTP Proxy. Only works for HTTP proxies that 330 # don't require user authentication 331 # 332 + # See: https://www.ietf.org/rfc/rfc2817.txt 333 334 $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport); 335 die "Socket to $proxyhost: $!\n" unless defined $s;
+3 -3
git-gui/git-gui.sh
··· 24 GNU General Public License for more details. 25 26 You should have received a copy of the GNU General Public License 27 - along with this program; if not, see <http://www.gnu.org/licenses/>.}] 28 29 ###################################################################### 30 ## ··· 2367 set ret_code $rc 2368 2369 # Briefly enable send again, working around Tk bug 2370 - # http://sourceforge.net/tracker/?func=detail&atid=112997&aid=1821174&group_id=12997 2371 tk appname [appname] 2372 2373 destroy . ··· 3052 if {[file isfile $doc_path]} { 3053 set doc_url "file:$doc_path" 3054 } else { 3055 - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/} 3056 } 3057 3058 proc start_browser {url} {
··· 24 GNU General Public License for more details. 25 26 You should have received a copy of the GNU General Public License 27 + along with this program; if not, see <https://www.gnu.org/licenses/>.}] 28 29 ###################################################################### 30 ## ··· 2367 set ret_code $rc 2368 2369 # Briefly enable send again, working around Tk bug 2370 + # https://sourceforge.net/p/tktoolkit/bugs/2343/ 2371 tk appname [appname] 2372 2373 destroy . ··· 3052 if {[file isfile $doc_path]} { 3053 set doc_url "file:$doc_path" 3054 } else { 3055 + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/} 3056 } 3057 3058 proc start_browser {url} {
+1 -1
git-gui/lib/encoding.tcl
··· 3 # (Copied from gitk, commit fd8ccbec4f0161) 4 5 # This list of encoding names and aliases is distilled from 6 - # http://www.iana.org/assignments/character-sets. 7 # Not all of them are supported by Tcl. 8 set encoding_aliases { 9 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII
··· 3 # (Copied from gitk, commit fd8ccbec4f0161) 4 5 # This list of encoding names and aliases is distilled from 6 + # https://www.iana.org/assignments/character-sets. 7 # Not all of them are supported by Tcl. 8 set encoding_aliases { 9 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII
+1 -1
git-gui/po/README
··· 39 If you do not know what your language should be named, you need to find 40 it. This currently follows ISO 639-1 two letter codes: 41 42 - http://www.loc.gov/standards/iso639-2/php/code_list.php 43 44 For example, if you are preparing a translation for Afrikaans, the 45 language code is "af". If there already is a translation for your
··· 39 If you do not know what your language should be named, you need to find 40 it. This currently follows ISO 639-1 two letter codes: 41 42 + https://www.loc.gov/standards/iso639-2/php/code_list.php 43 44 For example, if you are preparing a translation for Afrikaans, the 45 language code is "af". If there already is a translation for your
+2 -2
git-instaweb.sh
··· 432 # Mongoose web server configuration file. 433 # Lines starting with '#' and empty lines are ignored. 434 # For detailed description of every option, visit 435 - # http://code.google.com/p/mongoose/wiki/MongooseManual 436 437 root $root 438 ports $port ··· 458 #!$PERL 459 460 # gitweb - simple web interface to track changes in git repositories 461 - # PSGI wrapper and server starter (see http://plackperl.org) 462 463 use strict; 464
··· 432 # Mongoose web server configuration file. 433 # Lines starting with '#' and empty lines are ignored. 434 # For detailed description of every option, visit 435 + # https://code.google.com/p/mongoose/wiki/MongooseManual 436 437 root $root 438 ports $port ··· 458 #!$PERL 459 460 # gitweb - simple web interface to track changes in git repositories 461 + # PSGI wrapper and server starter (see https://plackperl.org) 462 463 use strict; 464
+2 -2
gitk-git/gitk
··· 11956 } 11957 11958 # This list of encoding names and aliases is distilled from 11959 - # http://www.iana.org/assignments/character-sets. 11960 # Not all of them are supported by Tcl. 11961 set encoding_aliases { 11962 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII ··· 12472 12473 catch { 12474 # follow the XDG base directory specification by default. See 12475 - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html 12476 if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { 12477 # XDG_CONFIG_HOME environment variable is set 12478 set config_file [file join $env(XDG_CONFIG_HOME) git gitk]
··· 11956 } 11957 11958 # This list of encoding names and aliases is distilled from 11959 + # https://www.iana.org/assignments/character-sets. 11960 # Not all of them are supported by Tcl. 11961 set encoding_aliases { 11962 { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII ··· 12472 12473 catch { 12474 # follow the XDG base directory specification by default. See 12475 + # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html 12476 if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { 12477 # XDG_CONFIG_HOME environment variable is set 12478 set config_file [file join $env(XDG_CONFIG_HOME) git gitk]
+1 -1
gitweb/INSTALL
··· 203 created. [Default: /etc/gitweb.conf] 204 * HIGHLIGHT_BIN 205 Path to the highlight executable to use (must be the one from 206 - http://www.andre-simon.de due to assumptions about parameters and output). 207 Useful if highlight is not installed on your webserver's PATH. 208 [Default: highlight] 209
··· 203 created. [Default: /etc/gitweb.conf] 204 * HIGHLIGHT_BIN 205 Path to the highlight executable to use (must be the one from 206 + http://andre-simon.de/zip/download.php due to assumptions about parameters and output). 207 Useful if highlight is not installed on your webserver's PATH. 208 [Default: highlight] 209
+5 -5
gitweb/gitweb.perl
··· 122 our $javascript = "++GITWEB_JS++"; 123 124 # URI and label (title) of GIT logo link 125 - #our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/"; 126 #our $logo_label = "git documentation"; 127 - our $logo_url = "http://git-scm.com/"; 128 our $logo_label = "git homepage"; 129 130 # source of projects list ··· 197 our $prevent_xss = 0; 198 199 # Path to the highlight executable to use (must be the one from 200 - # http://www.andre-simon.de due to assumptions about parameters and output). 201 # Useful if highlight is not installed on your webserver's PATH. 202 # [Default: highlight] 203 our $highlight_bin = "++HIGHLIGHT_BIN++"; ··· 269 # Leave it undefined (or set to 'undef') to turn off load checking. 270 our $maxload = 300; 271 272 - # configuration for 'highlight' (http://www.andre-simon.de/) 273 # match by basename 274 our %highlight_basename = ( 275 #'Program' => 'py', ··· 8193 my $have_blame = gitweb_check_feature('blame'); 8194 8195 # Atom: http://www.atomenabled.org/developers/syndication/ 8196 - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ 8197 if ($format ne 'rss' && $format ne 'atom') { 8198 die_error(400, "Unknown web feed format"); 8199 }
··· 122 our $javascript = "++GITWEB_JS++"; 123 124 # URI and label (title) of GIT logo link 125 + #our $logo_url = "https://www.kernel.org/pub/software/scm/git/docs/"; 126 #our $logo_label = "git documentation"; 127 + our $logo_url = "https://git-scm.com/"; 128 our $logo_label = "git homepage"; 129 130 # source of projects list ··· 197 our $prevent_xss = 0; 198 199 # Path to the highlight executable to use (must be the one from 200 + # http://andre-simon.de/zip/download.php due to assumptions about parameters and output). 201 # Useful if highlight is not installed on your webserver's PATH. 202 # [Default: highlight] 203 our $highlight_bin = "++HIGHLIGHT_BIN++"; ··· 269 # Leave it undefined (or set to 'undef') to turn off load checking. 270 our $maxload = 300; 271 272 + # configuration for 'highlight' (http://andre-simon.de/doku/highlight/en/highlight.php) 273 # match by basename 274 our %highlight_basename = ( 275 #'Program' => 'py', ··· 8193 my $have_blame = gitweb_check_feature('blame'); 8194 8195 # Atom: http://www.atomenabled.org/developers/syndication/ 8196 + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ 8197 if ($format ne 'rss' && $format ne 'atom') { 8198 die_error(400, "Unknown web feed format"); 8199 }
+1 -1
gitweb/static/gitweb.css
··· 667 } 668 669 670 - /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ 671 672 /* Highlighting theme definition: */ 673
··· 667 } 668 669 670 + /* Style definition generated by highlight 2.4.5, http://andre-simon.de/doku/highlight/en/highlight.php */ 671 672 /* Highlighting theme definition: */ 673
+5 -5
gitweb/static/js/lib/common-lib.js
··· 123 * NOTE that there are limits and differences compared to native 124 * getElementsByClassName as defined by e.g.: 125 * https://developer.mozilla.org/en/DOM/document.getElementsByClassName 126 - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname 127 - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname 128 * 129 * Namely, this implementation supports only single class name as 130 * argument and not set of space-separated tokens representing classes, ··· 133 * (via getElementsByTagName). 134 * 135 * Based on 136 - * http://code.google.com/p/getelementsbyclassname/ 137 * http://www.dustindiaz.com/getelementsbyclass/ 138 - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript 139 * 140 - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ 141 * 142 * @param {String} class: name of _single_ class to find 143 * @param {String} [taghint] limit search to given tags
··· 123 * NOTE that there are limits and differences compared to native 124 * getElementsByClassName as defined by e.g.: 125 * https://developer.mozilla.org/en/DOM/document.getElementsByClassName 126 + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname 127 + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname 128 * 129 * Namely, this implementation supports only single class name as 130 * argument and not set of space-separated tokens representing classes, ··· 133 * (via getElementsByTagName). 134 * 135 * Based on 136 + * https://code.google.com/p/getelementsbyclassname/ 137 * http://www.dustindiaz.com/getelementsbyclass/ 138 + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript 139 * 140 + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ 141 * 142 * @param {String} class: name of _single_ class to find 143 * @param {String} [taghint] limit search to given tags
+2 -2
graph.h
··· 130 * This functions must be called BEFORE graph_init() is called. 131 * 132 * NOTE: This function isn't used in Git outside graph.c but it is used 133 - * by CGit (http://git.zx2c4.com/cgit/) to use HTML for colors. 134 */ 135 void graph_set_column_colors(const char **colors, unsigned short colors_max); 136 ··· 196 * graph_update() is called. 197 * 198 * NOTE: This function isn't used in Git outside graph.c but it is used 199 - * by CGit (http://git.zx2c4.com/cgit/) to wrap HTML around graph lines. 200 */ 201 int graph_next_line(struct git_graph *graph, struct strbuf *sb); 202
··· 130 * This functions must be called BEFORE graph_init() is called. 131 * 132 * NOTE: This function isn't used in Git outside graph.c but it is used 133 + * by CGit (https://git.zx2c4.com/cgit/) to use HTML for colors. 134 */ 135 void graph_set_column_colors(const char **colors, unsigned short colors_max); 136 ··· 196 * graph_update() is called. 197 * 198 * NOTE: This function isn't used in Git outside graph.c but it is used 199 + * by CGit (https://git.zx2c4.com/cgit/) to wrap HTML around graph lines. 200 */ 201 int graph_next_line(struct git_graph *graph, struct strbuf *sb); 202
+1 -1
http.c
··· 1902 * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than 1903 * that, q-value will be smaller than 0.001, the minimum q-value the 1904 * HTTP specification allows. See 1905 - * http://tools.ietf.org/html/rfc7231#section-5.3.1 for q-value. 1906 */ 1907 const int MAX_DECIMAL_PLACES = 3; 1908 const int MAX_LANGUAGE_TAGS = 1000;
··· 1902 * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than 1903 * that, q-value will be smaller than 0.001, the minimum q-value the 1904 * HTTP specification allows. See 1905 + * https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1 for q-value. 1906 */ 1907 const int MAX_DECIMAL_PLACES = 3; 1908 const int MAX_LANGUAGE_TAGS = 1000;
+2 -2
imap-send.c
··· 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 - * along with this program; if not, see <http://www.gnu.org/licenses/>. 22 */ 23 24 #include "git-compat-util.h" ··· 860 861 /* 862 * hexchar() and cram() functions are based on the code from the isync 863 - * project (http://isync.sf.net/). 864 */ 865 static char hexchar(unsigned int b) 866 {
··· 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 + * along with this program; if not, see <https://www.gnu.org/licenses/>. 22 */ 23 24 #include "git-compat-util.h" ··· 860 861 /* 862 * hexchar() and cram() functions are based on the code from the isync 863 + * project (https://isync.sourceforge.io/). 864 */ 865 static char hexchar(unsigned int b) 866 {
+2 -2
json-writer.h
··· 3 4 /* 5 * JSON data structures are defined at: 6 - * [1] http://www.ietf.org/rfc/rfc7159.txt 7 - * [2] http://json.org/ 8 * 9 * The JSON-writer API allows one to build JSON data structures using a 10 * simple wrapper around a "struct strbuf" buffer. It is intended as a
··· 3 4 /* 5 * JSON data structures are defined at: 6 + * [1] https://www.ietf.org/rfc/rfc7159.txt 7 + * [2] https://www.json.org/ 8 * 9 * The JSON-writer API allows one to build JSON data structures using a 10 * simple wrapper around a "struct strbuf" buffer. It is intended as a
+1 -1
kwset.c
··· 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 - along with this program; if not, see <http://www.gnu.org/licenses/>. */ 22 23 /* Written August 1989 by Mike Haertel. 24 The author may be reached (Email) at the address mike@ai.mit.edu,
··· 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 + along with this program; if not, see <https://www.gnu.org/licenses/>. */ 22 23 /* Written August 1989 by Mike Haertel. 24 The author may be reached (Email) at the address mike@ai.mit.edu,
+1 -1
kwset.h
··· 20 GNU General Public License for more details. 21 22 You should have received a copy of the GNU General Public License 23 - along with this program; if not, see <http://www.gnu.org/licenses/>. */ 24 25 /* Written August 1989 by Mike Haertel. 26 The author may be reached (Email) at the address mike@ai.mit.edu,
··· 20 GNU General Public License for more details. 21 22 You should have received a copy of the GNU General Public License 23 + along with this program; if not, see <https://www.gnu.org/licenses/>. */ 24 25 /* Written August 1989 by Mike Haertel. 26 The author may be reached (Email) at the address mike@ai.mit.edu,
+1 -1
list.h
··· 19 * 20 * You should have received a copy of the GNU Lesser General Public 21 * License along with this library; if not, see 22 - * <http://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef LIST_H
··· 19 * 20 * You should have received a copy of the GNU Lesser General Public 21 * License along with this library; if not, see 22 + * <https://www.gnu.org/licenses/>. 23 */ 24 25 #ifndef LIST_H
+1 -1
perl/FromCPAN/Error.pm
··· 1025 1026 =head1 MAINTAINER 1027 1028 - Shlomi Fish, L<http://www.shlomifish.org/> . 1029 1030 =head1 PAST MAINTAINERS 1031
··· 1025 1026 =head1 MAINTAINER 1027 1028 + Shlomi Fish, L<https://www.shlomifish.org/> . 1029 1030 =head1 PAST MAINTAINERS 1031
+1 -1
perl/Git/SVN.pm
··· 1752 END { 1753 # Force cache writeout explicitly instead of waiting for 1754 # global destruction to avoid segfault in Storable: 1755 - # http://rt.cpan.org/Public/Bug/Display.html?id=36087 1756 unmemoize_svn_mergeinfo_functions(); 1757 } 1758
··· 1752 END { 1753 # Force cache writeout explicitly instead of waiting for 1754 # global destruction to avoid segfault in Storable: 1755 + # https://rt.cpan.org/Public/Bug/Display.html?id=36087 1756 unmemoize_svn_mergeinfo_functions(); 1757 } 1758
+1 -1
protocol.h
··· 18 * with Linus Torvalds <torvalds@osdl.org> as the point of 19 * contact. September 2005. 20 * 21 - * See http://www.iana.org/assignments/port-numbers 22 */ 23 #define DEFAULT_GIT_PORT 9418 24
··· 18 * with Linus Torvalds <torvalds@osdl.org> as the point of 19 * contact. September 2005. 20 * 21 + * See https://www.iana.org/assignments/port-numbers 22 */ 23 #define DEFAULT_GIT_PORT 9418 24
+2 -2
sh-i18n--envsubst.c
··· 31 GNU General Public License for more details. 32 33 You should have received a copy of the GNU General Public License 34 - along with this program; if not, see <http://www.gnu.org/licenses/>. */ 35 36 /* closeout.c - close standard output and standard error 37 Copyright (C) 1998-2007 Free Software Foundation, Inc. ··· 47 GNU General Public License for more details. 48 49 You should have received a copy of the GNU General Public License 50 - along with this program; if not, see <http://www.gnu.org/licenses/>. */ 51 52 #include <errno.h> 53 #include <stdio.h>
··· 31 GNU General Public License for more details. 32 33 You should have received a copy of the GNU General Public License 34 + along with this program; if not, see <https://www.gnu.org/licenses/>. */ 35 36 /* closeout.c - close standard output and standard error 37 Copyright (C) 1998-2007 Free Software Foundation, Inc. ··· 47 GNU General Public License for more details. 48 49 You should have received a copy of the GNU General Public License 50 + along with this program; if not, see <https://www.gnu.org/licenses/>. */ 51 52 #include <errno.h> 53 #include <stdio.h>
+1 -1
sha1dc/sha1.c
··· 88 /* 89 * Should define Big Endian for a whitelist of known processors. See 90 * https://sourceforge.net/p/predef/wiki/Endianness/ and 91 - * http://www.oracle.com/technetwork/server-storage/solaris/portingtosolaris-138514.html 92 */ 93 #define SHA1DC_BIGENDIAN 94
··· 88 /* 89 * Should define Big Endian for a whitelist of known processors. See 90 * https://sourceforge.net/p/predef/wiki/Endianness/ and 91 + * https://web.archive.org/web/20140421151132/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html 92 */ 93 #define SHA1DC_BIGENDIAN 94
+2 -2
t/README
··· 32 ok 2 - plain with GIT_WORK_TREE 33 ok 3 - plain bare 34 35 - Since the tests all output TAP (see http://testanything.org) they can 36 be run with any TAP harness. Here's an example of parallel testing 37 powered by a recent version of prove(1): 38 ··· 1278 sudo aptitude install libdevel-cover-perl 1279 1280 # From the CPAN with cpanminus 1281 - curl -L http://cpanmin.us | perl - --sudo --self-upgrade 1282 cpanm --sudo Devel::Cover 1283 1284 Then, at the top-level:
··· 32 ok 2 - plain with GIT_WORK_TREE 33 ok 3 - plain bare 34 35 + Since the tests all output TAP (see https://testanything.org) they can 36 be run with any TAP harness. Here's an example of parallel testing 37 powered by a recent version of prove(1): 38 ··· 1278 sudo aptitude install libdevel-cover-perl 1279 1280 # From the CPAN with cpanminus 1281 + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade 1282 cpanm --sudo Devel::Cover 1283 1284 Then, at the top-level:
+1 -1
t/helper/test-regex.c
··· 30 if (regexec(&r, str, 1, m, 0)) 31 die("no match of pattern '%s' to string '%s'", pat, str); 32 33 - /* http://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ 34 if (m[0].rm_so == 3) /* matches '\n' when it should not */ 35 die("regex bug confirmed: re-build git with NO_REGEX=1"); 36
··· 30 if (regexec(&r, str, 1, m, 0)) 31 die("no match of pattern '%s' to string '%s'", pat, str); 32 33 + /* https://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ 34 if (m[0].rm_so == 3) /* matches '\n' when it should not */ 35 die("regex bug confirmed: re-build git with NO_REGEX=1"); 36
+1 -1
t/lib-gpg.sh
··· 13 gpg_version=$(gpg --version 2>&1) 14 test $? != 127 || exit 1 15 16 - # As said here: http://www.gnupg.org/documentation/faqs.html#q6.19 17 # the gpg version 1.0.6 did not parse trust packets correctly, so for 18 # that version, creation of signed tags using the generated key fails. 19 case "$gpg_version" in
··· 13 gpg_version=$(gpg --version 2>&1) 14 test $? != 127 || exit 1 15 16 + # As said here: https://web.archive.org/web/20130212022238/https://www.gnupg.org/faq/gnupg-faq.html#why-does-gnupg-1.0.6-bail-out-on-keyrings-used-with-1.0.7 17 # the gpg version 1.0.6 did not parse trust packets correctly, so for 18 # that version, creation of signed tags using the generated key fails. 19 case "$gpg_version" in
+1 -1
t/perf/perf-lib.sh
··· 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 - # along with this program. If not, see http://www.gnu.org/licenses/ . 19 20 # These variables must be set before the inclusion of test-lib.sh below, 21 # because it will change our working directory.
··· 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 + # along with this program. If not, see https://www.gnu.org/licenses/ . 19 20 # These variables must be set before the inclusion of test-lib.sh below, 21 # because it will change our working directory.
+1 -1
t/t9114-git-svn-dcommit-merge.sh
··· 27 # GNU General Public License for more details. 28 # 29 # You should have received a copy of the GNU General Public License 30 - # along with this program; if not, see <http://www.gnu.org/licenses/>. 31 # 32 EOF 33 }
··· 27 # GNU General Public License for more details. 28 # 29 # You should have received a copy of the GNU General Public License 30 + # along with this program; if not, see <https://www.gnu.org/licenses/>. 31 # 32 EOF 33 }
+1 -1
t/t9801-git-p4-branch.sh
··· 466 ) 467 ' 468 469 - # From a report in http://stackoverflow.com/questions/11893688 470 # where --use-client-spec caused branch prefixes not to be removed; 471 # every file in git appeared into a subdirectory of the branch name. 472 test_expect_success 'use-client-spec detect-branches setup' '
··· 466 ) 467 ' 468 469 + # From a report in https://stackoverflow.com/questions/11893688 470 # where --use-client-spec caused branch prefixes not to be removed; 471 # every file in git appeared into a subdirectory of the branch name. 472 test_expect_success 'use-client-spec detect-branches setup' '
+1 -1
t/t9816-git-p4-locked.sh
··· 9 ' 10 11 # See 12 - # http://www.perforce.com/perforce/doc.current/manuals/p4sag/03_superuser.html#1088563 13 # for suggestions on how to configure "sitewide pessimistic locking" 14 # where only one person can have a file open for edit at a time. 15 test_expect_success 'init depot' '
··· 9 ' 10 11 # See 12 + # https://web.archive.org/web/20150602090517/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html#superuser.basic.typemap_locking 13 # for suggestions on how to configure "sitewide pessimistic locking" 14 # where only one person can have a file open for edit at a time. 15 test_expect_success 'init depot' '
+1 -1
t/test-lib-functions.sh
··· 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 - # along with this program. If not, see http://www.gnu.org/licenses/ . 18 19 # The semantics of the editor variables are that of invoking 20 # sh -c "$EDITOR \"$@\"" files ...
··· 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 + # along with this program. If not, see https://www.gnu.org/licenses/ . 18 19 # The semantics of the editor variables are that of invoking 20 # sh -c "$EDITOR \"$@\"" files ...
+1 -1
t/test-lib-github-workflow-markup.sh
··· 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 - # along with this program. If not, see http://www.gnu.org/licenses/ . 18 # 19 # The idea is for `test-lib.sh` to source this file when run in GitHub 20 # workflows; these functions will then override (empty) functions
··· 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 + # along with this program. If not, see https://www.gnu.org/licenses/ . 18 # 19 # The idea is for `test-lib.sh` to source this file when run in GitHub 20 # workflows; these functions will then override (empty) functions
+1 -1
t/test-lib-junit.sh
··· 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 - # along with this program. If not, see http://www.gnu.org/licenses/ . 19 # 20 # The idea is for `test-lib.sh` to source this file when the user asks 21 # for JUnit XML; these functions will then override (empty) functions
··· 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 + # along with this program. If not, see https://www.gnu.org/licenses/ . 19 # 20 # The idea is for `test-lib.sh` to source this file when the user asks 21 # for JUnit XML; these functions will then override (empty) functions
+1 -1
t/test-lib.sh
··· 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 - # along with this program. If not, see http://www.gnu.org/licenses/ . 17 18 # Test the binaries we have just built. The tests are kept in 19 # t/ subdirectory and are run in 'trash directory' subdirectory.
··· 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 + # along with this program. If not, see https://www.gnu.org/licenses/ . 17 18 # Test the binaries we have just built. The tests are kept in 19 # t/ subdirectory and are run in 'trash directory' subdirectory.
+1 -1
trace.c
··· 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 - * along with this program; if not, see <http://www.gnu.org/licenses/>. 22 */ 23 24 #include "git-compat-util.h"
··· 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 + * along with this program; if not, see <https://www.gnu.org/licenses/>. 22 */ 23 24 #include "git-compat-util.h"
+1 -1
utf8.c
··· 2 #include "strbuf.h" 3 #include "utf8.h" 4 5 - /* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */ 6 7 static const char utf16_be_bom[] = {'\xFE', '\xFF'}; 8 static const char utf16_le_bom[] = {'\xFF', '\xFE'};
··· 2 #include "strbuf.h" 3 #include "utf8.h" 4 5 + /* This code is originally from https://www.cl.cam.ac.uk/~mgk25/ucs/ */ 6 7 static const char utf16_be_bom[] = {'\xFE', '\xFF'}; 8 static const char utf16_le_bom[] = {'\xFF', '\xFE'};
+3 -3
utf8.h
··· 83 * BOM must not be used [1]. The same applies for the UTF-32 equivalents. 84 * The function returns true if this rule is violated. 85 * 86 - * [1] http://unicode.org/faq/utf_bom.html#bom10 87 */ 88 int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); 89 ··· 99 * Therefore, strictly requiring a BOM seems to be the safest option for 100 * content in Git. 101 * 102 - * [1] http://unicode.org/faq/utf_bom.html#gen6 103 - * [2] http://www.unicode.org/versions/Unicode10.0.0/ch03.pdf 104 * Section 3.10, D98, page 132 105 * [3] https://encoding.spec.whatwg.org/#utf-16le 106 */
··· 83 * BOM must not be used [1]. The same applies for the UTF-32 equivalents. 84 * The function returns true if this rule is violated. 85 * 86 + * [1] https://unicode.org/faq/utf_bom.html#bom10 87 */ 88 int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); 89 ··· 99 * Therefore, strictly requiring a BOM seems to be the safest option for 100 * content in Git. 101 * 102 + * [1] https://unicode.org/faq/utf_bom.html#gen6 103 + * [2] https://www.unicode.org/versions/Unicode10.0.0/ch03.pdf 104 * Section 3.10, D98, page 132 105 * [3] https://encoding.spec.whatwg.org/#utf-16le 106 */