Git fork

doc: switch links to https

These sites offer https versions of their content.
Using the https versions provides some protection for users.

Signed-off-by: Josh Soref <jsoref@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by jsoref.tngl.sh and committed by

Junio C Hamano d05b08cd 65175d9e

+56 -56
+1 -1
Documentation/MyFirstContribution.txt
··· 832 the GitHub PR workflow. It allows contributors to open pull requests against its 833 mirror of the Git project, and does some magic to turn the PR into a set of 834 emails and send them out for you. It also runs the Git continuous integration 835 - suite for you. It's documented at http://gitgitgadget.github.io. 836 837 [[create-fork]] 838 === Forking `git/git` on GitHub
··· 832 the GitHub PR workflow. It allows contributors to open pull requests against its 833 mirror of the Git project, and does some magic to turn the PR into a set of 834 emails and send them out for you. It also runs the Git continuous integration 835 + suite for you. It's documented at https://gitgitgadget.github.io/. 836 837 [[create-fork]] 838 === Forking `git/git` on GitHub
+1 -1
Documentation/git-cvsimport.txt
··· 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 ---
··· 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 ---
+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
··· 453 998 characters unless a suitable transfer encoding 454 ('auto', 'base64', or 'quoted-printable') is used; 455 this is due to SMTP limits as described by 456 - http://www.ietf.org/rfc/rfc5322.txt. 457 -- 458 + 459 Default is the value of `sendemail.validate`; if this is not set,
··· 453 998 characters unless a suitable transfer encoding 454 ('auto', 'base64', or 'quoted-printable') is used; 455 this is due to SMTP limits as described by 456 + https://www.ietf.org/rfc/rfc5322.txt. 457 -- 458 + 459 Default is the value of `sendemail.validate`; if this is not set,
+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 --------
+1 -1
Documentation/gitweb.conf.txt
··· 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 +
··· 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 which commit messages matches 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 which commit messages matches 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 ··· 2719 2720 ifdef USE_COMPUTED_HEADER_DEPENDENCIES 2721 # Take advantage of gcc's on-the-fly dependency generation 2722 - # See <http://gcc.gnu.org/gcc-3.0/features.html>. 2723 dep_files_present := $(wildcard $(dep_files)) 2724 ifneq ($(dep_files_present),) 2725 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 ··· 2719 2720 ifdef USE_COMPUTED_HEADER_DEPENDENCIES 2721 # Take advantage of gcc's on-the-fly dependency generation 2722 + # See <https://gcc.gnu.org/gcc-3.0/features.html>. 2723 dep_files_present := $(wildcard $(dep_files)) 2724 ifneq ($(dep_files_present),) 2725 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;
+2 -2
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 ## ··· 3075 if {[file isfile $doc_path]} { 3076 set doc_url "file:$doc_path" 3077 } else { 3078 - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/} 3079 } 3080 3081 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 ## ··· 3075 if {[file isfile $doc_path]} { 3076 set doc_url "file:$doc_path" 3077 } else { 3078 + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/} 3079 } 3080 3081 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
+1 -1
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
··· 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
+2 -2
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
··· 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
+4 -4
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 https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ 141 *
··· 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 *
+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
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"
··· 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
json-writer.h
··· 3 4 /* 5 * JSON data structures are defined at: 6 - * [1] http://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
··· 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
+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>
+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 ··· 1279 sudo aptitude install libdevel-cover-perl 1280 1281 # From the CPAN with cpanminus 1282 - curl -L http://cpanmin.us | perl - --sudo --self-upgrade 1283 cpanm --sudo Devel::Cover 1284 1285 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 ··· 1279 sudo aptitude install libdevel-cover-perl 1280 1281 # From the CPAN with cpanminus 1282 + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade 1283 cpanm --sudo Devel::Cover 1284 1285 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/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/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 */