* [PATCH 0/4] Switch links to https @ 2023-09-22 14:13 Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget ` (4 more replies) 0 siblings, 5 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-22 14:13 UTC (permalink / raw) To: git; +Cc: Josh Soref There are a couple of categories of http links * links that are required to be http: because they're copied from something that mandates it (the apache license, xml namespaces, xsl docbook things?) * pages which exist at both http: and https: and can be safely switched * pages that have jittered a bit but are now available as https: * pages that have jittered a bit and are not available over https: * pages that are gone and for which the best source is https://web.archive.org * urls that were imaginary In order: * doc: switch links to https -- the simplest * doc: update links to current pages -- I found the current pages for these, it should be easy enough to verify these / reject them * doc: update links for andre-simon.de -- I've split this out, I don't like the idea of having to download binaries over http. If this were my project, I'd be tempted to remove the feature or self-host w/ https... * doc: refer to internet archive -- the original urls are dead, I've found internet archive date links for them. (There are some in git already, so this seemed like a very reasonable choice.) Josh Soref (4): doc: switch links to https doc: update links to current pages doc: update links for andre-simon.de doc: refer to internet archive Documentation/CodingGuidelines | 4 ++-- Documentation/MyFirstContribution.txt | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 4 ++-- Documentation/git-format-patch.txt | 4 ++-- Documentation/git-imap-send.txt | 2 +- Documentation/git-ls-remote.txt | 4 ++-- Documentation/git-send-email.txt | 2 +- Documentation/git.txt | 2 +- Documentation/gitcore-tutorial.txt | 6 +++--- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 4 ++-- Documentation/gitweb.txt | 2 +- .../howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- compat/nedmalloc/malloc.c.h | 12 ++++++------ compat/obstack.c | 2 +- compat/obstack.h | 2 +- compat/poll/poll.c | 2 +- compat/poll/poll.h | 2 +- compat/precompose_utf8.h | 2 +- compat/regex/regcomp.c | 2 +- compat/regex/regex.c | 2 +- compat/regex/regex.h | 2 +- compat/regex/regex_internal.c | 2 +- compat/regex/regex_internal.h | 2 +- compat/regex/regexec.c | 2 +- compat/vcbuild/README | 10 +++++----- contrib/completion/git-completion.bash | 2 +- .../credential/libsecret/git-credential-libsecret.c | 2 +- contrib/fast-import/import-directories.perl | 2 +- contrib/hg-to-git/hg-to-git.py | 2 +- contrib/mw-to-git/t/test-gitmw-lib.sh | 4 ++-- contrib/persistent-https/LICENSE | 2 +- contrib/persistent-https/README | 4 ++-- contrib/thunderbird-patch-inline/appp.sh | 2 +- contrib/update-unicode/update_unicode.sh | 6 +++--- convert.c | 2 +- ewah/bitmap.c | 2 +- ewah/ewah_bitmap.c | 2 +- ewah/ewah_io.c | 2 +- ewah/ewah_rlw.c | 2 +- ewah/ewok.h | 4 ++-- ewah/ewok_rlw.h | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 6 +++--- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 4 ++-- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 12 ++++++------ gitweb/static/gitweb.css | 2 +- gitweb/static/js/lib/common-lib.js | 10 +++++----- graph.h | 4 ++-- http.c | 2 +- imap-send.c | 4 ++-- json-writer.h | 4 ++-- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- sha1dc/sha1.c | 2 +- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/lib-gpg.sh | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- xdiff/xdiff.h | 2 +- xdiff/xdiffi.c | 2 +- xdiff/xdiffi.h | 2 +- xdiff/xemit.c | 2 +- xdiff/xemit.h | 2 +- xdiff/xinclude.h | 2 +- xdiff/xmacros.h | 2 +- xdiff/xmerge.c | 2 +- xdiff/xpatience.c | 2 +- xdiff/xprepare.c | 2 +- xdiff/xprepare.h | 2 +- xdiff/xtypes.h | 2 +- xdiff/xutils.c | 2 +- xdiff/xutils.h | 2 +- 101 files changed, 144 insertions(+), 144 deletions(-) base-commit: bda494f4043963b9ec9a1ecd4b19b7d1cd9a0518 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1589%2Fjsoref%2Fhttps-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1589/jsoref/https-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/1589 -- gitgitgadget ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 1/4] doc: switch links to https 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget @ 2023-09-22 14:13 ` Josh Soref via GitGitGadget 2023-09-22 21:22 ` Eric Sunshine 2023-09-22 22:05 ` Junio C Hamano 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget ` (3 subsequent siblings) 4 siblings, 2 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-22 14:13 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/CodingGuidelines | 2 +- Documentation/MyFirstContribution.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-format-patch.txt | 2 +- Documentation/git-imap-send.txt | 2 +- Documentation/git-send-email.txt | 2 +- Documentation/gitcore-tutorial.txt | 2 +- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 2 +- Documentation/gitweb.txt | 2 +- Documentation/howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- compat/nedmalloc/malloc.c.h | 10 +++++----- compat/obstack.c | 2 +- compat/obstack.h | 2 +- compat/poll/poll.c | 2 +- compat/poll/poll.h | 2 +- compat/precompose_utf8.h | 2 +- compat/regex/regcomp.c | 2 +- compat/regex/regex.c | 2 +- compat/regex/regex.h | 2 +- compat/regex/regex_internal.c | 2 +- compat/regex/regex_internal.h | 2 +- compat/regex/regexec.c | 2 +- compat/vcbuild/README | 10 +++++----- contrib/completion/git-completion.bash | 2 +- .../credential/libsecret/git-credential-libsecret.c | 2 +- contrib/fast-import/import-directories.perl | 2 +- contrib/hg-to-git/hg-to-git.py | 2 +- contrib/mw-to-git/t/test-gitmw-lib.sh | 4 ++-- contrib/persistent-https/LICENSE | 2 +- contrib/persistent-https/README | 2 +- contrib/thunderbird-patch-inline/appp.sh | 2 +- contrib/update-unicode/update_unicode.sh | 6 +++--- convert.c | 2 +- ewah/bitmap.c | 2 +- ewah/ewah_bitmap.c | 2 +- ewah/ewah_io.c | 2 +- ewah/ewah_rlw.c | 2 +- ewah/ewok.h | 4 ++-- ewah/ewok_rlw.h | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 4 ++-- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/js/lib/common-lib.js | 8 ++++---- graph.h | 4 ++-- imap-send.c | 2 +- json-writer.h | 2 +- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- xdiff/xdiff.h | 2 +- xdiff/xdiffi.c | 2 +- xdiff/xdiffi.h | 2 +- xdiff/xemit.c | 2 +- xdiff/xemit.h | 2 +- xdiff/xinclude.h | 2 +- xdiff/xmacros.h | 2 +- xdiff/xmerge.c | 2 +- xdiff/xpatience.c | 2 +- xdiff/xprepare.c | 2 +- xdiff/xprepare.h | 2 +- xdiff/xtypes.h | 2 +- xdiff/xutils.c | 2 +- xdiff/xutils.h | 2 +- 88 files changed, 113 insertions(+), 113 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 65af8d82ced..94d4d869039 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -24,7 +24,7 @@ code. For Git in general, a few rough rules are: "Once it _is_ in the tree, it's not really worth the patch noise to go and fix it up." - Cf. http://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html + Cf. https://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html - Log messages to explain your changes are as important as the changes themselves. Clearly written code and in-code comments diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt index 62d11a5cd7f..710a1f9d915 100644 --- a/Documentation/MyFirstContribution.txt +++ b/Documentation/MyFirstContribution.txt @@ -832,7 +832,7 @@ Johannes Schindelin to make life as a Git contributor easier for those used to the GitHub PR workflow. It allows contributors to open pull requests against its mirror of the Git project, and does some magic to turn the PR into a set of emails and send them out for you. It also runs the Git continuous integration -suite for you. It's documented at http://gitgitgadget.github.io. +suite for you. It's documented at https://gitgitgadget.github.io/. [[create-fork]] === Forking `git/git` on GitHub diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index b3f27671a0c..e107ae930de 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -221,7 +221,7 @@ Problems related to tags: If you suspect that any of these issues may apply to the repository you want to import, consider using cvs2git: -* cvs2git (part of cvs2svn), `http://subversion.apache.org/` +* cvs2git (part of cvs2svn), `https://subversion.apache.org/` GIT --- diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 711823a7f4e..06aa8bf0741 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -611,7 +611,7 @@ Approach #3 (external editor) The following Thunderbird extensions are needed: AboutConfig from http://aboutconfig.mozdev.org/ and -External Editor from http://globs.org/articles.php?lng=en&pg=8 +External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt index f7b18515141..c8a89d7243b 100644 --- a/Documentation/git-imap-send.txt +++ b/Documentation/git-imap-send.txt @@ -135,7 +135,7 @@ flames ridiculing you if you don't check this. Thunderbird in particular is known to be problematic. Thunderbird users may wish to visit this web page for more information: - http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email + https://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email SEE ALSO -------- diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index 492a82323da..23c75d26f93 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -453,7 +453,7 @@ have been specified, in which case default to 'compose'. 998 characters unless a suitable transfer encoding ('auto', 'base64', or 'quoted-printable') is used; this is due to SMTP limits as described by - http://www.ietf.org/rfc/rfc5322.txt. + https://www.ietf.org/rfc/rfc5322.txt. -- + Default is the value of `sendemail.validate`; if this is not set, diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index c0b95256cc8..2122aeb9769 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -1089,7 +1089,7 @@ the remote repository URL in the local repository's config file like this: ------------------------------------------------ -$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/ +$ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/ ------------------------------------------------ and use the "linus" keyword with 'git pull' instead of the full URL. diff --git a/Documentation/gitprotocol-http.txt b/Documentation/gitprotocol-http.txt index ccc13f0a407..7533f0e61b7 100644 --- a/Documentation/gitprotocol-http.txt +++ b/Documentation/gitprotocol-http.txt @@ -529,8 +529,8 @@ TODO: Document this further. REFERENCES ---------- -http://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] -http://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] +https://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] +https://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] SEE ALSO -------- diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 34b1d6e2243..1edabdfef36 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash (\'h' gitweb parameter) and `%b` to the current hash base (\'hb' gitweb parameter); `%%` expands to \'%'. + -For example, at the time this page was written, the http://repo.or.cz[] +For example, at the time this page was written, the https://repo.or.cz[] Git hosting site set it to the following to enable graphical log (using the third party tool *git-browser*): + diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt index af6bf3c45ec..434893595a4 100644 --- a/Documentation/gitweb.txt +++ b/Documentation/gitweb.txt @@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories. Its features include: revisions one at a time, viewing the history of the repository. * Finding commits which commit messages matches given search term. -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, browsed using gitweb itself. diff --git a/Documentation/howto/keep-canonical-history-correct.txt b/Documentation/howto/keep-canonical-history-correct.txt index 35d48ef714e..5f800fd85a3 100644 --- a/Documentation/howto/keep-canonical-history-correct.txt +++ b/Documentation/howto/keep-canonical-history-correct.txt @@ -213,4 +213,4 @@ The procedure will result in a history that looks like this: B0--B1---------B2 ------------ -See also http://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html +See also https://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html diff --git a/Documentation/signoff-option.txt b/Documentation/signoff-option.txt index 12aa2333e46..d98758f3cb7 100644 --- a/Documentation/signoff-option.txt +++ b/Documentation/signoff-option.txt @@ -9,7 +9,7 @@ endif::git-commit[] the committer has the rights to submit the work under the project's license or agrees to some contributor representation, such as a Developer Certificate of Origin. - (See http://developercertificate.org for the one used by the + (See https://developercertificate.org for the one used by the Linux kernel and Git projects.) Consult the documentation or leadership of the project to which you're contributing to understand how the signoffs are used in that project. diff --git a/INSTALL b/INSTALL index 4b422888828..020eba62afb 100644 --- a/INSTALL +++ b/INSTALL @@ -124,7 +124,7 @@ Issues of note: interacting with svn repositories with "git svn"). If you can live without these, use NO_PERL. Note that recent releases of Redhat/Fedora are reported to ship Perl binary package with some - core modules stripped away (see http://lwn.net/Articles/477234/), + core modules stripped away (see https://lwn.net/Articles/477234/), so you might need to install additional packages other than Perl itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain, Net::SMTP, and Time::HiRes. diff --git a/Makefile b/Makefile index 57763093653..de1603a04fe 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ include shared.mak # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound. # # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback, -# as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) +# as the compiler can crash (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) # # Define USE_NSEC below if you want git to care about sub-second file mtimes # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On @@ -2720,7 +2720,7 @@ $(OBJECTS): %.o: %.c GIT-CFLAGS $(missing_dep_dirs) $(missing_compdb_dir) ifdef USE_COMPUTED_HEADER_DEPENDENCIES # Take advantage of gcc's on-the-fly dependency generation -# See <http://gcc.gnu.org/gcc-3.0/features.html>. +# See <https://gcc.gnu.org/gcc-3.0/features.html>. dep_files_present := $(wildcard $(dep_files)) ifneq ($(dep_files_present),) include $(dep_files_present) diff --git a/README.md b/README.md index 7ce4f05bae8..2c3de2f9c80 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ string translations (localization l10) should see [po/README.md][] To subscribe to the list, send an email with just "subscribe git" in the body to majordomo@vger.kernel.org (not the Git list). The mailing list archives are available at <https://lore.kernel.org/git/>, -<http://marc.info/?l=git> and other archival sites. +<https://marc.info/?l=git> and other archival sites. Issues which are security relevant should be disclosed privately to the Git Security mailing list <git-security@googlegroups.com>. diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h index 814845d4b33..5c5357a379f 100644 --- a/compat/nedmalloc/malloc.c.h +++ b/compat/nedmalloc/malloc.c.h @@ -1,7 +1,7 @@ /* This is a version (aka dlmalloc) of malloc/free/realloc written by Doug Lea and released to the public domain, as explained at - http://creativecommons.org/licenses/publicdomain. Send questions, + https://creativecommons.org/licenses/publicdomain. Send questions, comments, complaints, performance data, etc to dl@cs.oswego.edu * Version pre-2.8.4 Mon Nov 27 11:22:37 2006 (dl at gee) @@ -126,7 +126,7 @@ like memset. Compliance: I believe it is compliant with the Single Unix Specification - (See http://www.unix.org). Also SVID/XPG, ANSI C, and probably + (See https://www.unix.org). Also SVID/XPG, ANSI C, and probably others as well. * Overview of algorithms @@ -172,7 +172,7 @@ ignored. For a longer but out of date high-level description, see - http://gee.cs.oswego.edu/dl/html/malloc.html + https://gee.cs.oswego.edu/dl/html/malloc.html * MSPACES If MSPACES is defined, then in addition to malloc, free, etc., @@ -2460,7 +2460,7 @@ typedef struct malloc_segment* msegmentptr; conservatively use 32 bits per map word, even if on 64bit system. For a good description of some of the bit-based techniques used here, see Henry S. Warren Jr's book "Hacker's Delight" (and - supplement at http://hackersdelight.org/). Many of these are + supplement at https://www.hackersdelight.org/). Many of these are intended to reduce the branchiness of paths through malloc etc, as well as to reduce the number of memory locations read or written. @@ -2916,7 +2916,7 @@ static size_t traverse_and_check(mstate m); that the mstate controlling malloc/free is intact. This is a streamlined version of the approach described by William Robertson et al in "Run-time Detection of Heap-based Overflows" LISA'03 - http://www.usenix.org/events/lisa03/tech/robertson.html The footer + https://www.usenix.org/events/lisa03/tech/robertson.html The footer of an inuse chunk holds the xor of its mstate and a random seed, that is checked upon calls to free() and realloc(). This is (probablistically) unguessable from outside the program, but can be diff --git a/compat/obstack.c b/compat/obstack.c index 27cd5c1ea1f..ec23761cda1 100644 --- a/compat/obstack.c +++ b/compat/obstack.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" #include <gettext.h> diff --git a/compat/obstack.h b/compat/obstack.h index f90a46d9b95..fd6f5f6821a 100644 --- a/compat/obstack.h +++ b/compat/obstack.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ /* Summary: diff --git a/compat/poll/poll.c b/compat/poll/poll.c index afa6d245846..1ed0fa055b6 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, see <http://www.gnu.org/licenses/>. */ + with this program; if not, see <https://www.gnu.org/licenses/>. */ /* To bump the minimum Windows version to Windows Vista */ #include "git-compat-util.h" diff --git a/compat/poll/poll.h b/compat/poll/poll.h index 1e1597360f4..e369436dbe3 100644 --- a/compat/poll/poll.h +++ b/compat/poll/poll.h @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program; if not, see <http://www.gnu.org/licenses/>. */ + with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef _GL_POLL_H #define _GL_POLL_H diff --git a/compat/precompose_utf8.h b/compat/precompose_utf8.h index fea06cf28a5..9bae1e921f6 100644 --- a/compat/precompose_utf8.h +++ b/compat/precompose_utf8.h @@ -13,7 +13,7 @@ typedef struct dirent_prec_psx { unsigned char d_type; /* available on all systems git runs on */ /* - * See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html + * See https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html * NAME_MAX + 1 should be enough, but some systems have * NAME_MAX=255 and strlen(d_name) may return 508 or 510 * Solution: allocate more when needed, see precompose_utf8_readdir() diff --git a/compat/regex/regcomp.c b/compat/regex/regcomp.c index d1bc09e49b6..909d4ffac52 100644 --- a/compat/regex/regcomp.c +++ b/compat/regex/regcomp.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ #if defined __TANDEM /* This is currently duplicated from git-compat-utils.h */ diff --git a/compat/regex/regex.c b/compat/regex/regex.c index e6f4a5d177b..c32fd1ce489 100644 --- a/compat/regex/regex.c +++ b/compat/regex/regex.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/compat/regex/regex.h b/compat/regex/regex.h index 2d3412860d4..9022bf49d29 100644 --- a/compat/regex/regex.h +++ b/compat/regex/regex.h @@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ #ifndef _REGEX_H #define _REGEX_H 1 diff --git a/compat/regex/regex_internal.c b/compat/regex/regex_internal.c index ec51cf34461..49cf52d98cc 100644 --- a/compat/regex/regex_internal.c +++ b/compat/regex/regex_internal.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ static void re_string_construct_common (const char *str, int len, re_string_t *pstr, diff --git a/compat/regex/regex_internal.h b/compat/regex/regex_internal.h index 0bad8b841ed..61be3978dbd 100644 --- a/compat/regex/regex_internal.h +++ b/compat/regex/regex_internal.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ #ifndef _REGEX_INTERNAL_H #define _REGEX_INTERNAL_H 1 diff --git a/compat/regex/regexec.c b/compat/regex/regexec.c index 49358ae475c..bc91ebd4432 100644 --- a/compat/regex/regexec.c +++ b/compat/regex/regexec.c @@ -15,7 +15,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - <http://www.gnu.org/licenses/>. */ + <https://www.gnu.org/licenses/>. */ static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags, int n) internal_function; diff --git a/compat/vcbuild/README b/compat/vcbuild/README index 29ec1d0f104..3823fb56c89 100644 --- a/compat/vcbuild/README +++ b/compat/vcbuild/README @@ -67,14 +67,14 @@ The Steps of Build Git with VS2008 You can either use the binary repository: - WWW: http://repo.or.cz/w/msvcgit.git + WWW: https://repo.or.cz/w/msvcgit.git Git: git clone git://repo.or.cz/msvcgit.git - Zip: http://repo.or.cz/w/msvcgit.git?a=snapshot;h=master;sf=zip + Zip: https://repo.or.cz/w/msvcgit.git?a=snapshot;h=master;sf=zip and call the setup_32bit_env.cmd batch script before compiling Git, (see repo/package README for details), or the source repository: - WWW: http://repo.or.cz/w/gitbuild.git + WWW: https://repo.or.cz/w/gitbuild.git Git: git clone git://repo.or.cz/gitbuild.git Zip: (None, as it's a project with submodules) @@ -83,9 +83,9 @@ The Steps of Build Git with VS2008 2. Ensure you have the msysgit environment in your path, so you have GNU Make, bash and perl available. - WWW: http://repo.or.cz/w/msysgit.git + WWW: https://repo.or.cz/w/msysgit.git Git: git clone git://repo.or.cz/msysgit.git - Zip: http://repo.or.cz/w/msysgit.git?a=snapshot;h=master;sf=zip + Zip: https://repo.or.cz/w/msysgit.git?a=snapshot;h=master;sf=zip This environment is also needed when you use the resulting executables, since Git might need to run scripts which are part of diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 133ec92bfae..8d8eb2c8afa 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -203,7 +203,7 @@ __git_dequote () # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # # The latest version of this software can be obtained here: # diff --git a/contrib/credential/libsecret/git-credential-libsecret.c b/contrib/credential/libsecret/git-credential-libsecret.c index 215a81d8bae..42c6b2d5e80 100644 --- a/contrib/credential/libsecret/git-credential-libsecret.c +++ b/contrib/credential/libsecret/git-credential-libsecret.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* diff --git a/contrib/fast-import/import-directories.perl b/contrib/fast-import/import-directories.perl index a16f79cfdc4..8d8dcda98aa 100755 --- a/contrib/fast-import/import-directories.perl +++ b/contrib/fast-import/import-directories.perl @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # # ------------------------------------------------------------------------ diff --git a/contrib/hg-to-git/hg-to-git.py b/contrib/hg-to-git/hg-to-git.py index 7eb1b24cc7a..fcadae46fd9 100755 --- a/contrib/hg-to-git/hg-to-git.py +++ b/contrib/hg-to-git/hg-to-git.py @@ -15,7 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. + along with this program; if not, see <https://www.gnu.org/licenses/>. """ import os, os.path, sys diff --git a/contrib/mw-to-git/t/test-gitmw-lib.sh b/contrib/mw-to-git/t/test-gitmw-lib.sh index 64e46c16716..337e3672c02 100755 --- a/contrib/mw-to-git/t/test-gitmw-lib.sh +++ b/contrib/mw-to-git/t/test-gitmw-lib.sh @@ -371,9 +371,9 @@ wiki_install () { if ! test -f $MW_FILENAME then echo "Downloading $MW_VERSION_MAJOR.$MW_VERSION_MINOR sources ..." - wget "http://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/$MW_FILENAME" || + wget "https://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/$MW_FILENAME" || error "Unable to download "\ - "http://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/"\ + "https://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/"\ "$MW_FILENAME. "\ "Please fix your connection and launch the script again." echo "$MW_FILENAME downloaded in $(pwd)/;" \ diff --git a/contrib/persistent-https/LICENSE b/contrib/persistent-https/LICENSE index d6456956733..c38505788b3 100644 --- a/contrib/persistent-https/LICENSE +++ b/contrib/persistent-https/LICENSE @@ -1,7 +1,7 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION diff --git a/contrib/persistent-https/README b/contrib/persistent-https/README index 7c4cd8d257d..2ad95893c27 100644 --- a/contrib/persistent-https/README +++ b/contrib/persistent-https/README @@ -63,7 +63,7 @@ PREREQUISITES The code is written in Go (http://golang.org/) and the Go compiler is required. Currently, the compiler must be built and installed from tip of source, in order to include a fix in the reverse http proxy: -http://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 +https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 BUILDING diff --git a/contrib/thunderbird-patch-inline/appp.sh b/contrib/thunderbird-patch-inline/appp.sh index 1053872eea9..00a30c40ad9 100755 --- a/contrib/thunderbird-patch-inline/appp.sh +++ b/contrib/thunderbird-patch-inline/appp.sh @@ -4,7 +4,7 @@ # AppendPatch - A script to be used together with ExternalEditor # for Mozilla Thunderbird to properly include patches inline in e-mails. -# ExternalEditor can be downloaded at http://globs.org/articles.php?lng=en&pg=2 +# ExternalEditor can be downloaded at https://globs.org/articles.php?lng=en&pg=2 CONFFILE=~/.appprc diff --git a/contrib/update-unicode/update_unicode.sh b/contrib/update-unicode/update_unicode.sh index aa90865befa..2bf1d81cad8 100755 --- a/contrib/update-unicode/update_unicode.sh +++ b/contrib/update-unicode/update_unicode.sh @@ -1,5 +1,5 @@ #!/bin/sh -#See http://www.unicode.org/reports/tr44/ +#See https://www.unicode.org/reports/tr44/ # #Me Enclosing_Mark an enclosing combining mark #Mn Nonspacing_Mark a nonspacing combining mark (zero advance width) @@ -8,8 +8,8 @@ cd "$(dirname "$0")" UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode-width.h -wget -N http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt \ - http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt && +wget -N https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt \ + https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt && if ! test -d uniset; then git clone https://github.com/depp/uniset.git && ( cd uniset && git checkout 4b186196dd ) diff --git a/convert.c b/convert.c index a8870baff36..98514882484 100644 --- a/convert.c +++ b/convert.c @@ -438,7 +438,7 @@ static int encode_to_git(const char *path, const char *src, size_t src_len, * generate a faulty round trip without an iconv error. Iconv errors * are already caught above. * - * [1] http://unicode.org/faq/utf_bom.html#gen2 + * [1] https://unicode.org/faq/utf_bom.html#gen2 * [2] https://support.microsoft.com/en-us/help/170559/prb-conversion-problem-between-shift-jis-and-unicode */ if (die_on_error && check_roundtrip(enc)) { diff --git a/ewah/bitmap.c b/ewah/bitmap.c index 7b525b1ecd8..fa455682aa7 100644 --- a/ewah/bitmap.c +++ b/ewah/bitmap.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" #include "ewok.h" diff --git a/ewah/ewah_bitmap.c b/ewah/ewah_bitmap.c index 8785cbc54a8..595c20aa16a 100644 --- a/ewah/ewah_bitmap.c +++ b/ewah/ewah_bitmap.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" #include "ewok.h" diff --git a/ewah/ewah_io.c b/ewah/ewah_io.c index 9035ee65ea8..e371ec6038d 100644 --- a/ewah/ewah_io.c +++ b/ewah/ewah_io.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" #include "ewok.h" diff --git a/ewah/ewah_rlw.c b/ewah/ewah_rlw.c index 5093d43e2f0..ec4918eefa8 100644 --- a/ewah/ewah_rlw.c +++ b/ewah/ewah_rlw.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" #include "ewok.h" diff --git a/ewah/ewok.h b/ewah/ewok.h index 7eb8b9b6301..2524878f75d 100644 --- a/ewah/ewok.h +++ b/ewah/ewok.h @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef __EWOK_BITMAP_H__ #define __EWOK_BITMAP_H__ @@ -27,7 +27,7 @@ typedef uint64_t eword_t; * Do not use __builtin_popcountll. The GCC implementation * is notoriously slow on all platforms. * - * See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041 + * See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041 */ static inline uint32_t ewah_bit_popcount64(uint64_t x) { diff --git a/ewah/ewok_rlw.h b/ewah/ewok_rlw.h index bafa24f4c3a..7eb8f1166c2 100644 --- a/ewah/ewok_rlw.h +++ b/ewah/ewok_rlw.h @@ -14,7 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #ifndef __EWOK_RLW_H__ #define __EWOK_RLW_H__ diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 7bf3c12d678..da77a1bf157 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -329,7 +329,7 @@ sub conn { # Use a HTTP Proxy. Only works for HTTP proxies that # don't require user authentication # - # See: http://www.ietf.org/rfc/rfc2817.txt + # See: https://www.ietf.org/rfc/rfc2817.txt $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport); die "Socket to $proxyhost: $!\n" unless defined $s; diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 8bc8892c400..1d6102e0674 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -24,7 +24,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; if not, see <http://www.gnu.org/licenses/>.}] +along with this program; if not, see <https://www.gnu.org/licenses/>.}] ###################################################################### ## @@ -3075,7 +3075,7 @@ if {$doc_path ne {}} { if {[file isfile $doc_path]} { set doc_url "file:$doc_path" } else { - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/} + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/} } proc start_browser {url} { diff --git a/git-gui/lib/encoding.tcl b/git-gui/lib/encoding.tcl index 32668fc9c6d..d2e0fa60c3b 100644 --- a/git-gui/lib/encoding.tcl +++ b/git-gui/lib/encoding.tcl @@ -3,7 +3,7 @@ # (Copied from gitk, commit fd8ccbec4f0161) # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/git-gui/po/README b/git-gui/po/README index 2514bc22abf..116233100d7 100644 --- a/git-gui/po/README +++ b/git-gui/po/README @@ -39,7 +39,7 @@ in your language? If you do not know what your language should be named, you need to find it. This currently follows ISO 639-1 two letter codes: - http://www.loc.gov/standards/iso639-2/php/code_list.php + https://www.loc.gov/standards/iso639-2/php/code_list.php For example, if you are preparing a translation for Afrikaans, the language code is "af". If there already is a translation for your diff --git a/git-instaweb.sh b/git-instaweb.sh index c68f49454cd..994431c8872 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -432,7 +432,7 @@ mongoose_conf() { # Mongoose web server configuration file. # Lines starting with '#' and empty lines are ignored. # For detailed description of every option, visit -# http://code.google.com/p/mongoose/wiki/MongooseManual +# https://code.google.com/p/mongoose/wiki/MongooseManual root $root ports $port @@ -458,7 +458,7 @@ plackup_conf () { #!$PERL # gitweb - simple web interface to track changes in git repositories -# PSGI wrapper and server starter (see http://plackperl.org) +# PSGI wrapper and server starter (see https://plackperl.org) use strict; diff --git a/gitk-git/gitk b/gitk-git/gitk index df3ba2ea99b..1db46977df0 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -11956,7 +11956,7 @@ proc formatdate {d} { } # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index e66eb3d9bad..d23468690ed 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -122,9 +122,9 @@ our $favicon = "++GITWEB_FAVICON++"; our $javascript = "++GITWEB_JS++"; # URI and label (title) of GIT logo link -#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/"; +#our $logo_url = "https://www.kernel.org/pub/software/scm/git/docs/"; #our $logo_label = "git documentation"; -our $logo_url = "http://git-scm.com/"; +our $logo_url = "https://git-scm.com/"; our $logo_label = "git homepage"; # source of projects list diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 018bbb7d4cb..17b1796496d 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -123,8 +123,8 @@ function addCssRule(selector, style) { * NOTE that there are limits and differences compared to native * getElementsByClassName as defined by e.g.: * https://developer.mozilla.org/en/DOM/document.getElementsByClassName - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname * * Namely, this implementation supports only single class name as * argument and not set of space-separated tokens representing classes, @@ -133,9 +133,9 @@ function addCssRule(selector, style) { * (via getElementsByTagName). * * Based on - * http://code.google.com/p/getelementsbyclassname/ + * https://code.google.com/p/getelementsbyclassname/ * http://www.dustindiaz.com/getelementsbyclass/ - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ * diff --git a/graph.h b/graph.h index e88632a0140..3fd1dcb2e94 100644 --- a/graph.h +++ b/graph.h @@ -130,7 +130,7 @@ void graph_setup_line_prefix(struct diff_options *diffopt); * This functions must be called BEFORE graph_init() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to use HTML for colors. + * by CGit (https://git.zx2c4.com/cgit/) to use HTML for colors. */ void graph_set_column_colors(const char **colors, unsigned short colors_max); @@ -196,7 +196,7 @@ int graph_is_commit_finished(struct git_graph const *graph); * graph_update() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to wrap HTML around graph lines. + * by CGit (https://git.zx2c4.com/cgit/) to wrap HTML around graph lines. */ int graph_next_line(struct git_graph *graph, struct strbuf *sb); diff --git a/imap-send.c b/imap-send.c index 996651e4f80..3b2077e39b2 100644 --- a/imap-send.c +++ b/imap-send.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/json-writer.h b/json-writer.h index 209355e0f12..de140e54c98 100644 --- a/json-writer.h +++ b/json-writer.h @@ -3,7 +3,7 @@ /* * JSON data structures are defined at: - * [1] http://www.ietf.org/rfc/rfc7159.txt + * [1] https://www.ietf.org/rfc/rfc7159.txt * [2] http://json.org/ * * The JSON-writer API allows one to build JSON data structures using a diff --git a/kwset.c b/kwset.c index bbfcf815a56..695e47b7ccf 100644 --- a/kwset.c +++ b/kwset.c @@ -18,7 +18,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/kwset.h b/kwset.h index d42a793a301..c722664e5a7 100644 --- a/kwset.h +++ b/kwset.h @@ -20,7 +20,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/list.h b/list.h index 362a4cd7f5f..98428010f4d 100644 --- a/list.h +++ b/list.h @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. */ #ifndef LIST_H diff --git a/perl/FromCPAN/Error.pm b/perl/FromCPAN/Error.pm index d82b71325c6..5b97e0315d6 100644 --- a/perl/FromCPAN/Error.pm +++ b/perl/FromCPAN/Error.pm @@ -1025,7 +1025,7 @@ C<:warndie> handlers added by Paul Evans <leonerd@leonerd.org.uk> =head1 MAINTAINER -Shlomi Fish, L<http://www.shlomifish.org/> . +Shlomi Fish, L<https://www.shlomifish.org/> . =head1 PAST MAINTAINERS diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 6ce2e283c8d..7721708ce5d 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -1752,7 +1752,7 @@ sub tie_for_persistent_memoization { END { # Force cache writeout explicitly instead of waiting for # global destruction to avoid segfault in Storable: - # http://rt.cpan.org/Public/Bug/Display.html?id=36087 + # https://rt.cpan.org/Public/Bug/Display.html?id=36087 unmemoize_svn_mergeinfo_functions(); } diff --git a/protocol.h b/protocol.h index de66bf80f84..1e574bbd80b 100644 --- a/protocol.h +++ b/protocol.h @@ -18,7 +18,7 @@ * with Linus Torvalds <torvalds@osdl.org> as the point of * contact. September 2005. * - * See http://www.iana.org/assignments/port-numbers + * See https://www.iana.org/assignments/port-numbers */ #define DEFAULT_GIT_PORT 9418 diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 133496bd4d9..f69fd166105 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -31,7 +31,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* closeout.c - close standard output and standard error Copyright (C) 1998-2007 Free Software Foundation, Inc. @@ -47,7 +47,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include <errno.h> #include <stdio.h> diff --git a/t/README b/t/README index 61080859899..643c3905d49 100644 --- a/t/README +++ b/t/README @@ -32,7 +32,7 @@ the tests. ok 2 - plain with GIT_WORK_TREE ok 3 - plain bare -Since the tests all output TAP (see http://testanything.org) they can +Since the tests all output TAP (see https://testanything.org) they can be run with any TAP harness. Here's an example of parallel testing powered by a recent version of prove(1): @@ -1279,7 +1279,7 @@ Devel::Cover module. To install it do: sudo aptitude install libdevel-cover-perl # From the CPAN with cpanminus - curl -L http://cpanmin.us | perl - --sudo --self-upgrade + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade cpanm --sudo Devel::Cover Then, at the top-level: diff --git a/t/helper/test-regex.c b/t/helper/test-regex.c index bd871a735b4..80042eafc20 100644 --- a/t/helper/test-regex.c +++ b/t/helper/test-regex.c @@ -30,7 +30,7 @@ static int test_regex_bug(void) if (regexec(&r, str, 1, m, 0)) die("no match of pattern '%s' to string '%s'", pat, str); - /* http://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ + /* https://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ if (m[0].rm_so == 3) /* matches '\n' when it should not */ die("regex bug confirmed: re-build git with NO_REGEX=1"); diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh index e7786775a90..def22e70aed 100644 --- a/t/perf/perf-lib.sh +++ b/t/perf/perf-lib.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # These variables must be set before the inclusion of test-lib.sh below, # because it will change our working directory. diff --git a/t/t9114-git-svn-dcommit-merge.sh b/t/t9114-git-svn-dcommit-merge.sh index 32317d6bca5..e06538b1c85 100755 --- a/t/t9114-git-svn-dcommit-merge.sh +++ b/t/t9114-git-svn-dcommit-merge.sh @@ -27,7 +27,7 @@ cat << EOF # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # EOF } diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh index 759a14fa87c..3b5fea91822 100755 --- a/t/t9801-git-p4-branch.sh +++ b/t/t9801-git-p4-branch.sh @@ -466,7 +466,7 @@ test_expect_success 'git p4 clone complex branches with excluded files' ' ) ' -# From a report in http://stackoverflow.com/questions/11893688 +# From a report in https://stackoverflow.com/questions/11893688 # where --use-client-spec caused branch prefixes not to be removed; # every file in git appeared into a subdirectory of the branch name. test_expect_success 'use-client-spec detect-branches setup' ' diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 2f8868caa17..0b7ddcc5858 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # The semantics of the editor variables are that of invoking # sh -c "$EDITOR \"$@\"" files ... diff --git a/t/test-lib-github-workflow-markup.sh b/t/test-lib-github-workflow-markup.sh index 9c5339c577a..970c6538cba 100644 --- a/t/test-lib-github-workflow-markup.sh +++ b/t/test-lib-github-workflow-markup.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when run in GitHub # workflows; these functions will then override (empty) functions diff --git a/t/test-lib-junit.sh b/t/test-lib-junit.sh index 79c31c788b9..76cbbd3299d 100644 --- a/t/test-lib-junit.sh +++ b/t/test-lib-junit.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when the user asks # for JUnit XML; these functions will then override (empty) functions diff --git a/t/test-lib.sh b/t/test-lib.sh index 5ea5d1d62a0..9e4216a8e0b 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -13,7 +13,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # Test the binaries we have just built. The tests are kept in # t/ subdirectory and are run in 'trash directory' subdirectory. diff --git a/trace.c b/trace.c index 971a68abe84..8669ddfca25 100644 --- a/trace.c +++ b/trace.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/utf8.c b/utf8.c index 6a0dd25b0fe..6bfaefa28eb 100644 --- a/utf8.c +++ b/utf8.c @@ -2,7 +2,7 @@ #include "strbuf.h" #include "utf8.h" -/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */ +/* This code is originally from https://www.cl.cam.ac.uk/~mgk25/ucs/ */ static const char utf16_be_bom[] = {'\xFE', '\xFF'}; static const char utf16_le_bom[] = {'\xFF', '\xFE'}; diff --git a/utf8.h b/utf8.h index b68efef6f43..35df76086a6 100644 --- a/utf8.h +++ b/utf8.h @@ -83,7 +83,7 @@ void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned int wid * BOM must not be used [1]. The same applies for the UTF-32 equivalents. * The function returns true if this rule is violated. * - * [1] http://unicode.org/faq/utf_bom.html#bom10 + * [1] https://unicode.org/faq/utf_bom.html#bom10 */ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); @@ -99,8 +99,8 @@ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); * Therefore, strictly requiring a BOM seems to be the safest option for * content in Git. * - * [1] http://unicode.org/faq/utf_bom.html#gen6 - * [2] http://www.unicode.org/versions/Unicode10.0.0/ch03.pdf + * [1] https://unicode.org/faq/utf_bom.html#gen6 + * [2] https://www.unicode.org/versions/Unicode10.0.0/ch03.pdf * Section 3.10, D98, page 132 * [3] https://encoding.spec.whatwg.org/#utf-16le */ diff --git a/xdiff/xdiff.h b/xdiff/xdiff.h index bb56b23f34c..73a39fc1b76 100644 --- a/xdiff/xdiff.h +++ b/xdiff/xdiff.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c index 344c2dfc3eb..cc48de7aa26 100644 --- a/xdiff/xdiffi.c +++ b/xdiff/xdiffi.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xdiffi.h b/xdiff/xdiffi.h index 126c9d8ff4e..2740c0f99bd 100644 --- a/xdiff/xdiffi.h +++ b/xdiff/xdiffi.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xemit.c b/xdiff/xemit.c index 75f0fe49866..acaaa5c21f5 100644 --- a/xdiff/xemit.c +++ b/xdiff/xemit.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xemit.h b/xdiff/xemit.h index 1b9887e670d..162b83e8fcd 100644 --- a/xdiff/xemit.h +++ b/xdiff/xemit.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xinclude.h b/xdiff/xinclude.h index a4285ac0eb2..81f17f76a7f 100644 --- a/xdiff/xinclude.h +++ b/xdiff/xinclude.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xmacros.h b/xdiff/xmacros.h index 8487bb396fa..eb42f7ec478 100644 --- a/xdiff/xmacros.h +++ b/xdiff/xmacros.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xmerge.c b/xdiff/xmerge.c index af40c88a5b3..478ad8faf0a 100644 --- a/xdiff/xmerge.c +++ b/xdiff/xmerge.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xpatience.c b/xdiff/xpatience.c index a2d8955537f..fcf22829dc8 100644 --- a/xdiff/xpatience.c +++ b/xdiff/xpatience.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xprepare.c b/xdiff/xprepare.c index c84549f6c50..fb3e0feb096 100644 --- a/xdiff/xprepare.c +++ b/xdiff/xprepare.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xprepare.h b/xdiff/xprepare.h index 947d9fc1bb8..c75b32d06e9 100644 --- a/xdiff/xprepare.h +++ b/xdiff/xprepare.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xtypes.h b/xdiff/xtypes.h index 8442bd436ef..da01e6b4378 100644 --- a/xdiff/xtypes.h +++ b/xdiff/xtypes.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xutils.c b/xdiff/xutils.c index 9e36f24875d..bd904e656ee 100644 --- a/xdiff/xutils.c +++ b/xdiff/xutils.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * diff --git a/xdiff/xutils.h b/xdiff/xutils.h index fd0bba94e8b..292cdc5eb21 100644 --- a/xdiff/xutils.h +++ b/xdiff/xutils.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. * * Davide Libenzi <davidel@xmailserver.org> * -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH 1/4] doc: switch links to https 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget @ 2023-09-22 21:22 ` Eric Sunshine 2023-09-22 22:05 ` Junio C Hamano 1 sibling, 0 replies; 35+ messages in thread From: Eric Sunshine @ 2023-09-22 21:22 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref On Fri, Sep 22, 2023 at 10:14 AM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > doc: switch links to https > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > #include "git-compat-util.h" > --- a/json-writer.h > +++ b/json-writer.h > @@ -3,7 +3,7 @@ > /* > * JSON data structures are defined at: > - * [1] http://www.ietf.org/rfc/rfc7159.txt > + * [1] https://www.ietf.org/rfc/rfc7159.txt > * [2] http://json.org/ Shouldn't "json.org" receive the same s/http/https/ treatment? ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 1/4] doc: switch links to https 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget 2023-09-22 21:22 ` Eric Sunshine @ 2023-09-22 22:05 ` Junio C Hamano 1 sibling, 0 replies; 35+ messages in thread From: Junio C Hamano @ 2023-09-22 22:05 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Josh Soref <jsoref@gmail.com> > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > Documentation/CodingGuidelines | 2 +- > Documentation/MyFirstContribution.txt | 2 +- > Documentation/git-cvsimport.txt | 2 +- > Documentation/git-format-patch.txt | 2 +- > Documentation/git-imap-send.txt | 2 +- > Documentation/git-send-email.txt | 2 +- > Documentation/gitcore-tutorial.txt | 2 +- > Documentation/gitprotocol-http.txt | 4 ++-- > Documentation/gitweb.conf.txt | 2 +- > Documentation/gitweb.txt | 2 +- > Documentation/howto/keep-canonical-history-correct.txt | 2 +- > Documentation/signoff-option.txt | 2 +- > INSTALL | 2 +- > Makefile | 4 ++-- > README.md | 2 +- These are end-user facing and most of the changes looked sensible, except for URLs that had comments like "at the time of this writing the URL is at ...", which we should not bother touching. There may be other reasons not to touch some of them, but I didn't look very closely. > compat/nedmalloc/malloc.c.h | 10 +++++----- > compat/obstack.c | 2 +- > compat/obstack.h | 2 +- > compat/poll/poll.c | 2 +- > compat/poll/poll.h | 2 +- > compat/precompose_utf8.h | 2 +- > compat/regex/regcomp.c | 2 +- > compat/regex/regex.c | 2 +- > compat/regex/regex.h | 2 +- > compat/regex/regex_internal.c | 2 +- > compat/regex/regex_internal.h | 2 +- > compat/regex/regexec.c | 2 +- > compat/vcbuild/README | 10 +++++----- > contrib/completion/git-completion.bash | 2 +- > .../credential/libsecret/git-credential-libsecret.c | 2 +- > contrib/fast-import/import-directories.perl | 2 +- > contrib/hg-to-git/hg-to-git.py | 2 +- > contrib/mw-to-git/t/test-gitmw-lib.sh | 4 ++-- > contrib/persistent-https/LICENSE | 2 +- > contrib/persistent-https/README | 2 +- > contrib/thunderbird-patch-inline/appp.sh | 2 +- > contrib/update-unicode/update_unicode.sh | 6 +++--- > convert.c | 2 +- > ewah/bitmap.c | 2 +- > ewah/ewah_bitmap.c | 2 +- > ewah/ewah_io.c | 2 +- > ewah/ewah_rlw.c | 2 +- > ewah/ewok.h | 4 ++-- > ewah/ewok_rlw.h | 2 +- > xdiff/xdiff.h | 2 +- > xdiff/xdiffi.c | 2 +- > xdiff/xdiffi.h | 2 +- > xdiff/xemit.c | 2 +- > xdiff/xemit.h | 2 +- > xdiff/xinclude.h | 2 +- > xdiff/xmacros.h | 2 +- > xdiff/xmerge.c | 2 +- > xdiff/xpatience.c | 2 +- > xdiff/xprepare.c | 2 +- > xdiff/xprepare.h | 2 +- > xdiff/xtypes.h | 2 +- > xdiff/xutils.c | 2 +- > xdiff/xutils.h | 2 +- There are mostly borrowed code. I would not touch them, if I were doing this patch (unless the HTTP:// variant stopped to work and only HTTPS:// variant works now, that is). Thanks. ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 2/4] doc: update links to current pages 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget @ 2023-09-22 14:13 ` Josh Soref via GitGitGadget 2023-09-22 21:25 ` Eric Sunshine ` (2 more replies) 2023-09-22 14:13 ` [PATCH 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget ` (2 subsequent siblings) 4 siblings, 3 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-22 14:13 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-format-patch.txt | 2 +- Documentation/git-ls-remote.txt | 4 ++-- Documentation/git.txt | 2 +- Documentation/gitcore-tutorial.txt | 4 ++-- compat/nedmalloc/malloc.c.h | 2 +- contrib/persistent-https/README | 2 +- git-gui/git-gui.sh | 2 +- gitk-git/gitk | 2 +- gitweb/static/js/lib/common-lib.js | 2 +- http.c | 2 +- imap-send.c | 2 +- json-writer.h | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 94d4d869039..81afc0b8df3 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -518,7 +518,7 @@ For Perl programs: For Python scripts: - - We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/). + - We follow PEP-8 (https://peps.python.org/pep-0008/). - As a minimum, we aim to be compatible with Python 2.7. diff --git a/Documentation/RelNotes/1.6.2.txt b/Documentation/RelNotes/1.6.2.txt index 980adfb3154..166d73c60fb 100644 --- a/Documentation/RelNotes/1.6.2.txt +++ b/Documentation/RelNotes/1.6.2.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.3.txt b/Documentation/RelNotes/1.6.3.txt index 4bcff945e01..bbf177fc3c5 100644 --- a/Documentation/RelNotes/1.6.3.txt +++ b/Documentation/RelNotes/1.6.3.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.4.txt b/Documentation/RelNotes/1.6.4.txt index a2a34b43a75..0fccfb0bf0b 100644 --- a/Documentation/RelNotes/1.6.4.txt +++ b/Documentation/RelNotes/1.6.4.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.5.txt b/Documentation/RelNotes/1.6.5.txt index 6c7f7da7eb9..79cb1b2b6df 100644 --- a/Documentation/RelNotes/1.6.5.txt +++ b/Documentation/RelNotes/1.6.5.txt @@ -21,7 +21,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.6.txt b/Documentation/RelNotes/1.6.6.txt index 3ed1e014337..88b86a827e8 100644 --- a/Documentation/RelNotes/1.6.6.txt +++ b/Documentation/RelNotes/1.6.6.txt @@ -63,7 +63,7 @@ users will fare this time. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index e107ae930de..90fdc2551a3 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -22,7 +22,7 @@ DESCRIPTION deprecated; it does not work with cvsps version 3 and later. If you are performing a one-shot import of a CVS repository consider using http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or -http://www.catb.org/esr/cvs-fast-export/[cvs-fast-export]. +https://gitlab.com/esr/cvs-fast-export[cvs-fast-export]. Imports a CVS repository into Git. It will either create a new repository, or incrementally import into an existing one. diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 06aa8bf0741..8ccc1973b80 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -610,7 +610,7 @@ Approach #3 (external editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The following Thunderbird extensions are needed: -AboutConfig from http://aboutconfig.mozdev.org/ and +AboutConfig from https://mjg.github.io/AboutConfig/ and External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt index 1c4f696ab57..b9c8478a62a 100644 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt @@ -128,7 +128,7 @@ d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 * List all references matching given patterns: + ---- -$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc +$ git ls-remote https://git.kernel.org/pub/scm/git/git.git master seen rc 5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen ---- @@ -136,7 +136,7 @@ c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen * List only tags matching a given wildcard pattern: + ---- -$ git ls-remote --tags http://www.kernel.org/pub/scm/git/git.git v\* +$ git ls-remote --tags https://git.kernel.org/pub/scm/git/git.git v\* 485a869c64a68cc5795dd99689797c5900f4716d refs/tags/v2.39.2 cbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6 refs/tags/v2.39.2^{} d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 diff --git a/Documentation/git.txt b/Documentation/git.txt index 11228956cd5..c7292eb25d0 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -1061,7 +1061,7 @@ Authors ------- Git was started by Linus Torvalds, and is currently maintained by Junio C Hamano. Numerous contributions have come from the Git mailing list -<git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary +<git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary gives you a more complete list of contributors. If you have a clone of git.git itself, the diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index 2122aeb9769..924a9a97807 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -1101,8 +1101,8 @@ Examples. the above are equivalent to: -. `git pull http://www.kernel.org/pub/scm/git/git.git/ HEAD` -. `git pull http://www.kernel.org/pub/scm/git/git.git/ tag v0.99.1` +. `git pull https://git.kernel.org/pub/scm/git/git.git/ HEAD` +. `git pull https://git.kernel.org/pub/scm/git/git.git/ tag v0.99.1` How does the merge work? diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h index 5c5357a379f..4b711c6b9ca 100644 --- a/compat/nedmalloc/malloc.c.h +++ b/compat/nedmalloc/malloc.c.h @@ -1359,7 +1359,7 @@ LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); /* --[ start GCC compatibility ]---------------------------------------------- * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic * Microsoft Visual C++ functions. Originally developed for the ReactOS - * (<http://www.reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) + * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) * projects. * * Copyright (c) 2006 KJK::Hyperion <hackbunny@reactos.com> diff --git a/contrib/persistent-https/README b/contrib/persistent-https/README index 2ad95893c27..2c9bec91066 100644 --- a/contrib/persistent-https/README +++ b/contrib/persistent-https/README @@ -60,7 +60,7 @@ https://kernel.googlesource.com/pub/scm/git/git PREREQUISITES -The code is written in Go (http://golang.org/) and the Go compiler is +The code is written in Go (https://go.dev/) and the Go compiler is required. Currently, the compiler must be built and installed from tip of source, in order to include a fix in the reverse http proxy: https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 1d6102e0674..4a11d590b68 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -2390,7 +2390,7 @@ proc do_quit {{rc {1}}} { set ret_code $rc # Briefly enable send again, working around Tk bug - # http://sourceforge.net/tracker/?func=detail&atid=112997&aid=1821174&group_id=12997 + # https://sourceforge.net/p/tktoolkit/bugs/2343/ tk appname [appname] destroy . diff --git a/gitk-git/gitk b/gitk-git/gitk index 1db46977df0..7a087f123d7 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -12472,7 +12472,7 @@ if {[tk windowingsystem] eq "aqua"} { catch { # follow the XDG base directory specification by default. See - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html + # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { # XDG_CONFIG_HOME environment variable is set set config_file [file join $env(XDG_CONFIG_HOME) git gitk] diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 17b1796496d..99e3eb8c3d9 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -137,7 +137,7 @@ function addCssRule(selector, style) { * http://www.dustindiaz.com/getelementsbyclass/ * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ * * @param {String} class: name of _single_ class to find * @param {String} [taghint] limit search to given tags diff --git a/http.c b/http.c index e138b4b96fb..33c6011e8d8 100644 --- a/http.c +++ b/http.c @@ -1877,7 +1877,7 @@ static void write_accept_language(struct strbuf *buf) * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than * that, q-value will be smaller than 0.001, the minimum q-value the * HTTP specification allows. See - * http://tools.ietf.org/html/rfc7231#section-5.3.1 for q-value. + * https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1 for q-value. */ const int MAX_DECIMAL_PLACES = 3; const int MAX_LANGUAGE_TAGS = 1000; diff --git a/imap-send.c b/imap-send.c index 3b2077e39b2..448ca64c052 100644 --- a/imap-send.c +++ b/imap-send.c @@ -860,7 +860,7 @@ static void imap_close_store(struct imap_store *ctx) /* * hexchar() and cram() functions are based on the code from the isync - * project (http://isync.sf.net/). + * project (https://isync.sourceforge.io/). */ static char hexchar(unsigned int b) { diff --git a/json-writer.h b/json-writer.h index de140e54c98..04413bd1afd 100644 --- a/json-writer.h +++ b/json-writer.h @@ -4,7 +4,7 @@ /* * JSON data structures are defined at: * [1] https://www.ietf.org/rfc/rfc7159.txt - * [2] http://json.org/ + * [2] https://www.json.org/ * * The JSON-writer API allows one to build JSON data structures using a * simple wrapper around a "struct strbuf" buffer. It is intended as a -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH 2/4] doc: update links to current pages 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget @ 2023-09-22 21:25 ` Eric Sunshine 2023-09-22 21:30 ` Josh Soref 2023-09-22 22:21 ` Junio C Hamano 2023-09-22 22:23 ` Junio C Hamano 2 siblings, 1 reply; 35+ messages in thread From: Eric Sunshine @ 2023-09-22 21:25 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref On Fri, Sep 22, 2023 at 10:14 AM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > doc: update links to current pages > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > diff --git a/json-writer.h b/json-writer.h > @@ -4,7 +4,7 @@ > /* > * JSON data structures are defined at: > * [1] https://www.ietf.org/rfc/rfc7159.txt > - * [2] http://json.org/ > + * [2] https://www.json.org/ Not sure why this change is needed considering that the simpler s/http/https/ seems sufficient. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/4] doc: update links to current pages 2023-09-22 21:25 ` Eric Sunshine @ 2023-09-22 21:30 ` Josh Soref 2023-09-22 21:34 ` Eric Sunshine 0 siblings, 1 reply; 35+ messages in thread From: Josh Soref @ 2023-09-22 21:30 UTC (permalink / raw) To: Eric Sunshine; +Cc: Josh Soref via GitGitGadget, git Eric Sunshine wrote: > > doc: update links to current pages > > @@ -4,7 +4,7 @@ > > - * [2] http://json.org/ > > + * [2] https://www.json.org/ > > Not sure why this change is needed considering that the simpler > s/http/https/ seems sufficient. This is because that's their preference: ```sh % curl -s http://json.org/|grep REFRESH <meta HTTP-EQUIV="REFRESH" content="0; url=https://www.JSON.org/json-en.html"></head> ``` It's somewhat traditional to respect sites' self-identification. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/4] doc: update links to current pages 2023-09-22 21:30 ` Josh Soref @ 2023-09-22 21:34 ` Eric Sunshine 0 siblings, 0 replies; 35+ messages in thread From: Eric Sunshine @ 2023-09-22 21:34 UTC (permalink / raw) To: Josh Soref; +Cc: Josh Soref via GitGitGadget, git On Fri, Sep 22, 2023 at 5:31 PM Josh Soref <jsoref@gmail.com> wrote: > Eric Sunshine wrote: > > > - * [2] http://json.org/ > > > + * [2] https://www.json.org/ > > > > Not sure why this change is needed considering that the simpler > > s/http/https/ seems sufficient. > > This is because that's their preference: > > ```sh > % curl -s http://json.org/|grep REFRESH > <meta HTTP-EQUIV="REFRESH" content="0; > url=https://www.JSON.org/json-en.html"></head> > ``` > > It's somewhat traditional to respect sites' self-identification. It might be worth calling that out in the commit message of both patches if you happen to reroll so other reviewers understand the motivation. (That said, on its own, it's probably not worth a reroll.) ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/4] doc: update links to current pages 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-09-22 21:25 ` Eric Sunshine @ 2023-09-22 22:21 ` Junio C Hamano 2023-09-22 22:23 ` Junio C Hamano 2 siblings, 0 replies; 35+ messages in thread From: Junio C Hamano @ 2023-09-22 22:21 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Josh Soref <jsoref@gmail.com> > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > Documentation/CodingGuidelines | 2 +- > Documentation/RelNotes/1.6.2.txt | 2 +- > Documentation/RelNotes/1.6.3.txt | 2 +- > Documentation/RelNotes/1.6.4.txt | 2 +- > Documentation/RelNotes/1.6.5.txt | 2 +- > Documentation/RelNotes/1.6.6.txt | 2 +- > Documentation/git-cvsimport.txt | 2 +- > Documentation/git-format-patch.txt | 2 +- > Documentation/git-ls-remote.txt | 4 ++-- > Documentation/git.txt | 2 +- > Documentation/gitcore-tutorial.txt | 4 ++-- > compat/nedmalloc/malloc.c.h | 2 +- > contrib/persistent-https/README | 2 +- > git-gui/git-gui.sh | 2 +- > gitk-git/gitk | 2 +- > gitweb/static/js/lib/common-lib.js | 2 +- > http.c | 2 +- > imap-send.c | 2 +- > json-writer.h | 2 +- > 19 files changed, 21 insertions(+), 21 deletions(-) Broken links are annoying while reading documentation. Thank you for doing the necessary research. I am not sure if direct replacement to Release Notes (historical document) is the best way to present these updates, but let's assume it is OK for now. > diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt > index 1c4f696ab57..b9c8478a62a 100644 > --- a/Documentation/git-ls-remote.txt > +++ b/Documentation/git-ls-remote.txt > @@ -128,7 +128,7 @@ d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 > * List all references matching given patterns: > + > ---- > -$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc > +$ git ls-remote https://git.kernel.org/pub/scm/git/git.git master seen rc > 5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master > c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen > ---- I am not sure if this change is warranted. The old URL still works just fine, even though there are no refs that match "rc" and the "master" branch is no longer at 5fe978a5, but these are not problem caused by using the http:// address. The point of the example is not about preferred use of HTTP:// over HTTPS://, so this again falls into "if we were writing this anew, we may have used the other address, but the original still works, so it is not worth the patch noise" category, I would think. > diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt > index 2122aeb9769..924a9a97807 100644 > --- a/Documentation/gitcore-tutorial.txt > +++ b/Documentation/gitcore-tutorial.txt > @@ -1101,8 +1101,8 @@ Examples. > > the above are equivalent to: > > -. `git pull http://www.kernel.org/pub/scm/git/git.git/ HEAD` > -. `git pull http://www.kernel.org/pub/scm/git/git.git/ tag v0.99.1` > +. `git pull https://git.kernel.org/pub/scm/git/git.git/ HEAD` > +. `git pull https://git.kernel.org/pub/scm/git/git.git/ tag v0.99.1` Likewise. > diff --git a/Documentation/git.txt b/Documentation/git.txt > index 11228956cd5..c7292eb25d0 100644 > --- a/Documentation/git.txt > +++ b/Documentation/git.txt > @@ -1061,7 +1061,7 @@ Authors > ------- > Git was started by Linus Torvalds, and is currently maintained by Junio > C Hamano. Numerous contributions have come from the Git mailing list > -<git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary > +<git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary > gives you a more complete list of contributors. OK, even though the former seems to redirect to the latter, so in that sense it is still "current". > diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h > index 5c5357a379f..4b711c6b9ca 100644 > --- a/compat/nedmalloc/malloc.c.h > +++ b/compat/nedmalloc/malloc.c.h > @@ -1359,7 +1359,7 @@ LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); > /* --[ start GCC compatibility ]---------------------------------------------- > * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic > * Microsoft Visual C++ functions. Originally developed for the ReactOS > - * (<http://www.reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) > + * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) Likewise for reactos; the tinykrnl one does not seem to be current. In any case, this is borrowed code, so I'd rather not touch it and risk giving a wrong page that is not a replacement. > diff --git a/contrib/persistent-https/README b/contrib/persistent-https/README > index 2ad95893c27..2c9bec91066 100644 > --- a/contrib/persistent-https/README > +++ b/contrib/persistent-https/README > @@ -60,7 +60,7 @@ https://kernel.googlesource.com/pub/scm/git/git > > PREREQUISITES > > -The code is written in Go (http://golang.org/) and the Go compiler is > +The code is written in Go (https://go.dev/) and the Go compiler is Likewise. > required. Currently, the compiler must be built and installed from tip > of source, in order to include a fix in the reverse http proxy: > https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 This is an interesting one. code.google.com is no longer tehre > diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh > index 1d6102e0674..4a11d590b68 100755 > --- a/git-gui/git-gui.sh > +++ b/git-gui/git-gui.sh > @@ -2390,7 +2390,7 @@ proc do_quit {{rc {1}}} { > set ret_code $rc > > # Briefly enable send again, working around Tk bug > - # http://sourceforge.net/tracker/?func=detail&atid=112997&aid=1821174&group_id=12997 > + # https://sourceforge.net/p/tktoolkit/bugs/2343/ > tk appname [appname] > > destroy . > diff --git a/gitk-git/gitk b/gitk-git/gitk > index 1db46977df0..7a087f123d7 100755 > --- a/gitk-git/gitk > +++ b/gitk-git/gitk > @@ -12472,7 +12472,7 @@ if {[tk windowingsystem] eq "aqua"} { > > catch { > # follow the XDG base directory specification by default. See > - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html > + # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html > if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { > # XDG_CONFIG_HOME environment variable is set > set config_file [file join $env(XDG_CONFIG_HOME) git gitk] > diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js > index 17b1796496d..99e3eb8c3d9 100644 > --- a/gitweb/static/js/lib/common-lib.js > +++ b/gitweb/static/js/lib/common-lib.js > @@ -137,7 +137,7 @@ function addCssRule(selector, style) { > * http://www.dustindiaz.com/getelementsbyclass/ > * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript > * > - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ > + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ > * > * @param {String} class: name of _single_ class to find > * @param {String} [taghint] limit search to given tags > diff --git a/http.c b/http.c > index e138b4b96fb..33c6011e8d8 100644 > --- a/http.c > +++ b/http.c > @@ -1877,7 +1877,7 @@ static void write_accept_language(struct strbuf *buf) > * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than > * that, q-value will be smaller than 0.001, the minimum q-value the > * HTTP specification allows. See > - * http://tools.ietf.org/html/rfc7231#section-5.3.1 for q-value. > + * https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1 for q-value. > */ > const int MAX_DECIMAL_PLACES = 3; > const int MAX_LANGUAGE_TAGS = 1000; > diff --git a/imap-send.c b/imap-send.c > index 3b2077e39b2..448ca64c052 100644 > --- a/imap-send.c > +++ b/imap-send.c > @@ -860,7 +860,7 @@ static void imap_close_store(struct imap_store *ctx) > > /* > * hexchar() and cram() functions are based on the code from the isync > - * project (http://isync.sf.net/). > + * project (https://isync.sourceforge.io/). > */ > static char hexchar(unsigned int b) > { > diff --git a/json-writer.h b/json-writer.h > index de140e54c98..04413bd1afd 100644 > --- a/json-writer.h > +++ b/json-writer.h > @@ -4,7 +4,7 @@ > /* > * JSON data structures are defined at: > * [1] https://www.ietf.org/rfc/rfc7159.txt > - * [2] http://json.org/ > + * [2] https://www.json.org/ > * > * The JSON-writer API allows one to build JSON data structures using a > * simple wrapper around a "struct strbuf" buffer. It is intended as a ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 2/4] doc: update links to current pages 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-09-22 21:25 ` Eric Sunshine 2023-09-22 22:21 ` Junio C Hamano @ 2023-09-22 22:23 ` Junio C Hamano 2 siblings, 0 replies; 35+ messages in thread From: Junio C Hamano @ 2023-09-22 22:23 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Josh Soref <jsoref@gmail.com> > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > Documentation/CodingGuidelines | 2 +- > Documentation/RelNotes/1.6.2.txt | 2 +- > Documentation/RelNotes/1.6.3.txt | 2 +- > Documentation/RelNotes/1.6.4.txt | 2 +- > Documentation/RelNotes/1.6.5.txt | 2 +- > Documentation/RelNotes/1.6.6.txt | 2 +- > Documentation/git-cvsimport.txt | 2 +- > Documentation/git-format-patch.txt | 2 +- > Documentation/git-ls-remote.txt | 4 ++-- > Documentation/git.txt | 2 +- > Documentation/gitcore-tutorial.txt | 4 ++-- > compat/nedmalloc/malloc.c.h | 2 +- > contrib/persistent-https/README | 2 +- > git-gui/git-gui.sh | 2 +- > gitk-git/gitk | 2 +- > gitweb/static/js/lib/common-lib.js | 2 +- > http.c | 2 +- > imap-send.c | 2 +- > json-writer.h | 2 +- > 19 files changed, 21 insertions(+), 21 deletions(-) Broken links are annoying while reading documentation. Thank you for doing the necessary research. I am not sure if direct replacement to Release Notes (historical document) is the best way to present these updates, but let's assume it is OK for now. > diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt > index 1c4f696ab57..b9c8478a62a 100644 > --- a/Documentation/git-ls-remote.txt > +++ b/Documentation/git-ls-remote.txt > @@ -128,7 +128,7 @@ d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 > * List all references matching given patterns: > + > ---- > -$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc > +$ git ls-remote https://git.kernel.org/pub/scm/git/git.git master seen rc > 5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master > c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen > ---- I am not sure if this change is warranted. The old URL still works just fine, even though there are no refs that match "rc" and the "master" branch is no longer at 5fe978a5, but these are not problem caused by using the http:// address. The point of the example is not about preferred use of HTTP:// over HTTPS://, so this again falls into "if we were writing this anew, we may have used the other address, but the original still works, so it is not worth the patch noise" category, I would think. > diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt > index 2122aeb9769..924a9a97807 100644 > --- a/Documentation/gitcore-tutorial.txt > +++ b/Documentation/gitcore-tutorial.txt > @@ -1101,8 +1101,8 @@ Examples. > > the above are equivalent to: > > -. `git pull http://www.kernel.org/pub/scm/git/git.git/ HEAD` > -. `git pull http://www.kernel.org/pub/scm/git/git.git/ tag v0.99.1` > +. `git pull https://git.kernel.org/pub/scm/git/git.git/ HEAD` > +. `git pull https://git.kernel.org/pub/scm/git/git.git/ tag v0.99.1` Likewise. > diff --git a/Documentation/git.txt b/Documentation/git.txt > index 11228956cd5..c7292eb25d0 100644 > --- a/Documentation/git.txt > +++ b/Documentation/git.txt > @@ -1061,7 +1061,7 @@ Authors > ------- > Git was started by Linus Torvalds, and is currently maintained by Junio > C Hamano. Numerous contributions have come from the Git mailing list > -<git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary > +<git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary > gives you a more complete list of contributors. OK, even though the former seems to redirect to the latter, so in that sense it is still "current". > diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h > index 5c5357a379f..4b711c6b9ca 100644 > --- a/compat/nedmalloc/malloc.c.h > +++ b/compat/nedmalloc/malloc.c.h > @@ -1359,7 +1359,7 @@ LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); > /* --[ start GCC compatibility ]---------------------------------------------- > * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic > * Microsoft Visual C++ functions. Originally developed for the ReactOS > - * (<http://www.reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) > + * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) Likewise for reactos; the tinykrnl one does not seem to be current. In any case, this is borrowed code, so I'd rather not touch it and risk giving a wrong page that is not a replacement. > diff --git a/contrib/persistent-https/README b/contrib/persistent-https/README > index 2ad95893c27..2c9bec91066 100644 > --- a/contrib/persistent-https/README > +++ b/contrib/persistent-https/README > @@ -60,7 +60,7 @@ https://kernel.googlesource.com/pub/scm/git/git > > PREREQUISITES > > -The code is written in Go (http://golang.org/) and the Go compiler is > +The code is written in Go (https://go.dev/) and the Go compiler is Likewise. > required. Currently, the compiler must be built and installed from tip > of source, in order to include a fix in the reverse http proxy: > https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 This is an interesting one. code.google.com is no longer there and the updated URL seems to be at https://github.com/golang/go somewhere. ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 3/4] doc: update links for andre-simon.de 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget @ 2023-09-22 14:13 ` Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 4/4] doc: refer to internet archive Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-22 14:13 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/gitweb.conf.txt | 2 +- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/gitweb.css | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 1edabdfef36..417289dcd17 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -242,7 +242,7 @@ $mimetypes_file:: $highlight_bin:: Path to the highlight executable to use (it must be the one from - http://www.andre-simon.de[] due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php[] due to assumptions about parameters and output). By default set to 'highlight'; set it to full path to highlight executable if it is not installed on your web server's PATH. Note that 'highlight' feature must be set for gitweb to actually diff --git a/gitweb/INSTALL b/gitweb/INSTALL index a58e6b3c44b..0f8bc39ad84 100644 --- a/gitweb/INSTALL +++ b/gitweb/INSTALL @@ -203,7 +203,7 @@ You can specify the following configuration variables when building GIT: created. [Default: /etc/gitweb.conf] * HIGHLIGHT_BIN Path to the highlight executable to use (must be the one from - http://www.andre-simon.de due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php due to assumptions about parameters and output). Useful if highlight is not installed on your webserver's PATH. [Default: highlight] diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index d23468690ed..b6659410ef1 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -197,7 +197,7 @@ our @diff_opts = ('-M'); # taken from git_commit our $prevent_xss = 0; # Path to the highlight executable to use (must be the one from -# http://www.andre-simon.de due to assumptions about parameters and output). +# http://andre-simon.de/zip/download.php due to assumptions about parameters and output). # Useful if highlight is not installed on your webserver's PATH. # [Default: highlight] our $highlight_bin = "++HIGHLIGHT_BIN++"; @@ -269,7 +269,7 @@ our %avatar_size = ( # Leave it undefined (or set to 'undef') to turn off load checking. our $maxload = 300; -# configuration for 'highlight' (http://www.andre-simon.de/) +# configuration for 'highlight' (http://andre-simon.de/doku/highlight/en/highlight.php) # match by basename our %highlight_basename = ( #'Program' => 'py', diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 32126010326..48d2e510154 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -667,7 +667,7 @@ div.remote { } -/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ +/* Style definition generated by highlight 2.4.5, http://andre-simon.de/doku/highlight/en/highlight.php */ /* Highlighting theme definition: */ -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 4/4] doc: refer to internet archive 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget ` (2 preceding siblings ...) 2023-09-22 14:13 ` [PATCH 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget @ 2023-09-22 14:13 ` Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-22 14:13 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Signed-off-by: Josh Soref <jsoref@gmail.com> --- compat/nedmalloc/malloc.c.h | 2 +- gitweb/gitweb.perl | 4 ++-- sha1dc/sha1.c | 2 +- t/lib-gpg.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compat/nedmalloc/malloc.c.h b/compat/nedmalloc/malloc.c.h index 4b711c6b9ca..d8c5cd552e2 100644 --- a/compat/nedmalloc/malloc.c.h +++ b/compat/nedmalloc/malloc.c.h @@ -1359,7 +1359,7 @@ LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); /* --[ start GCC compatibility ]---------------------------------------------- * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic * Microsoft Visual C++ functions. Originally developed for the ReactOS - * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) + * (<https://reactos.org/>) and TinyKrnl (<https://web.archive.org/web/20060409205924/http://www.tinykrnl.org/>) * projects. * * Copyright (c) 2006 KJK::Hyperion <hackbunny@reactos.com> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b6659410ef1..f12bed87db9 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -8192,8 +8192,8 @@ sub git_feed { my $format = shift || 'atom'; my $have_blame = gitweb_check_feature('blame'); - # Atom: http://www.atomenabled.org/developers/syndication/ - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ + # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ if ($format ne 'rss' && $format ne 'atom') { die_error(400, "Unknown web feed format"); } diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c index dede2cbddf9..f993ef9c690 100644 --- a/sha1dc/sha1.c +++ b/sha1dc/sha1.c @@ -88,7 +88,7 @@ /* * Should define Big Endian for a whitelist of known processors. See * https://sourceforge.net/p/predef/wiki/Endianness/ and - * http://www.oracle.com/technetwork/server-storage/solaris/portingtosolaris-138514.html + * https://web.archive.org/web/20140421151132/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html */ #define SHA1DC_BIGENDIAN diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 83b83c9abb5..add11e88fc0 100644 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -13,7 +13,7 @@ test_lazy_prereq GPG ' gpg_version=$(gpg --version 2>&1) test $? != 127 || exit 1 - # As said here: http://www.gnupg.org/documentation/faqs.html#q6.19 + # 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 # the gpg version 1.0.6 did not parse trust packets correctly, so for # that version, creation of signed tags using the generated key fails. case "$gpg_version" in diff --git a/t/t9816-git-p4-locked.sh b/t/t9816-git-p4-locked.sh index 932841003cf..5e904ac80d8 100755 --- a/t/t9816-git-p4-locked.sh +++ b/t/t9816-git-p4-locked.sh @@ -9,7 +9,7 @@ test_expect_success 'start p4d' ' ' # See -# http://www.perforce.com/perforce/doc.current/manuals/p4sag/03_superuser.html#1088563 +# https://web.archive.org/web/20150602090517/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html#superuser.basic.typemap_locking # for suggestions on how to configure "sitewide pessimistic locking" # where only one person can have a file open for edit at a time. test_expect_success 'init depot' ' -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH v2 0/4] Switch links to https 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget ` (3 preceding siblings ...) 2023-09-22 14:13 ` [PATCH 4/4] doc: refer to internet archive Josh Soref via GitGitGadget @ 2023-09-24 10:57 ` Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 1/4] doc: switch " Josh Soref via GitGitGadget ` (5 more replies) 4 siblings, 6 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-24 10:57 UTC (permalink / raw) To: git; +Cc: Josh Soref There are a couple of categories of http links * links that are required to be http: because they're copied from something that mandates it (the apache license, xml namespaces, xsl docbook things?) * pages which exist at both http: and https: and can be safely switched * pages that have jittered a bit but are now available as https: * pages that have jittered a bit and are not available over https: * pages that are gone and for which the best source is https://web.archive.org * urls that were imaginary In order: * doc: switch links to https -- the simplest * doc: update links to current pages -- I found the current pages for these, it should be easy enough to verify these / reject them * doc: update links for andre-simon.de -- I've split this out, I don't like the idea of having to download binaries over http. If this were my project, I'd be tempted to remove the feature or self-host w/ https... * doc: refer to internet archive -- the original urls are dead, I've found internet archive date links for them. (There are some in git already, so this seemed like a very reasonable choice.) cc: Eric Sunshine sunshine@sunshineco.com cc: Josh Soref jsoref@gmail.com * Commit messages have been adjusted since v1 * files were dropped based on feedback from Junio Josh Soref (4): doc: switch links to https doc: update links to current pages doc: update links for andre-simon.de doc: refer to internet archive Documentation/CodingGuidelines | 4 ++-- Documentation/MyFirstContribution.txt | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 4 ++-- Documentation/git-format-patch.txt | 4 ++-- Documentation/git-imap-send.txt | 2 +- Documentation/git-send-email.txt | 2 +- Documentation/git.txt | 2 +- Documentation/gitcore-tutorial.txt | 2 +- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 4 ++-- Documentation/gitweb.txt | 2 +- .../howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 6 +++--- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 4 ++-- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 12 ++++++------ gitweb/static/gitweb.css | 2 +- gitweb/static/js/lib/common-lib.js | 10 +++++----- graph.h | 4 ++-- http.c | 2 +- imap-send.c | 4 ++-- json-writer.h | 4 ++-- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- sha1dc/sha1.c | 2 +- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/lib-gpg.sh | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- 57 files changed, 83 insertions(+), 83 deletions(-) base-commit: bda494f4043963b9ec9a1ecd4b19b7d1cd9a0518 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1589%2Fjsoref%2Fhttps-v2 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1589/jsoref/https-v2 Pull-Request: https://github.com/gitgitgadget/git/pull/1589 Range-diff vs v1: 1: b80c6089653 ! 1: 71ed1286d7f doc: switch links to https @@ Metadata ## Commit message ## doc: switch links to https + It's somewhat traditional to respect sites' self-identification. + Signed-off-by: Josh Soref <jsoref@gmail.com> ## Documentation/CodingGuidelines ## @@ README.md: string translations (localization l10) should see [po/README.md][] Issues which are security relevant should be disclosed privately to the Git Security mailing list <git-security@googlegroups.com>. - ## compat/nedmalloc/malloc.c.h ## -@@ - /* - This is a version (aka dlmalloc) of malloc/free/realloc written by - Doug Lea and released to the public domain, as explained at -- http://creativecommons.org/licenses/publicdomain. Send questions, -+ https://creativecommons.org/licenses/publicdomain. Send questions, - comments, complaints, performance data, etc to dl@cs.oswego.edu - - * Version pre-2.8.4 Mon Nov 27 11:22:37 2006 (dl at gee) -@@ - like memset. - - Compliance: I believe it is compliant with the Single Unix Specification -- (See http://www.unix.org). Also SVID/XPG, ANSI C, and probably -+ (See https://www.unix.org). Also SVID/XPG, ANSI C, and probably - others as well. - - * Overview of algorithms -@@ - ignored. - - For a longer but out of date high-level description, see -- http://gee.cs.oswego.edu/dl/html/malloc.html -+ https://gee.cs.oswego.edu/dl/html/malloc.html - - * MSPACES - If MSPACES is defined, then in addition to malloc, free, etc., -@@ compat/nedmalloc/malloc.c.h: typedef struct malloc_segment* msegmentptr; - conservatively use 32 bits per map word, even if on 64bit system. - For a good description of some of the bit-based techniques used - here, see Henry S. Warren Jr's book "Hacker's Delight" (and -- supplement at http://hackersdelight.org/). Many of these are -+ supplement at https://www.hackersdelight.org/). Many of these are - intended to reduce the branchiness of paths through malloc etc, as - well as to reduce the number of memory locations read or written. - -@@ compat/nedmalloc/malloc.c.h: static size_t traverse_and_check(mstate m); - that the mstate controlling malloc/free is intact. This is a - streamlined version of the approach described by William Robertson - et al in "Run-time Detection of Heap-based Overflows" LISA'03 -- http://www.usenix.org/events/lisa03/tech/robertson.html The footer -+ https://www.usenix.org/events/lisa03/tech/robertson.html The footer - of an inuse chunk holds the xor of its mstate and a random seed, - that is checked upon calls to free() and realloc(). This is - (probablistically) unguessable from outside the program, but can be - - ## compat/obstack.c ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - #include "git-compat-util.h" - #include <gettext.h> - - ## compat/obstack.h ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - /* Summary: - - - ## compat/poll/poll.c ## -@@ - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along -- with this program; if not, see <http://www.gnu.org/licenses/>. */ -+ with this program; if not, see <https://www.gnu.org/licenses/>. */ - - /* To bump the minimum Windows version to Windows Vista */ - #include "git-compat-util.h" - - ## compat/poll/poll.h ## -@@ - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along -- with this program; if not, see <http://www.gnu.org/licenses/>. */ -+ with this program; if not, see <https://www.gnu.org/licenses/>. */ - - #ifndef _GL_POLL_H - #define _GL_POLL_H - - ## compat/precompose_utf8.h ## -@@ compat/precompose_utf8.h: typedef struct dirent_prec_psx { - unsigned char d_type; /* available on all systems git runs on */ - - /* -- * See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html -+ * See https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html - * NAME_MAX + 1 should be enough, but some systems have - * NAME_MAX=255 and strlen(d_name) may return 508 or 510 - * Solution: allocate more when needed, see precompose_utf8_readdir() - - ## compat/regex/regcomp.c ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - #if defined __TANDEM - /* This is currently duplicated from git-compat-utils.h */ - - ## compat/regex/regex.c ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - #ifdef HAVE_CONFIG_H - #include "config.h" - - ## compat/regex/regex.h ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - #ifndef _REGEX_H - #define _REGEX_H 1 - - ## compat/regex/regex_internal.c ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - static void re_string_construct_common (const char *str, int len, - re_string_t *pstr, - - ## compat/regex/regex_internal.h ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - #ifndef _REGEX_INTERNAL_H - #define _REGEX_INTERNAL_H 1 - - ## compat/regex/regexec.c ## -@@ - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see -- <http://www.gnu.org/licenses/>. */ -+ <https://www.gnu.org/licenses/>. */ - - static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags, - int n) internal_function; - - ## compat/vcbuild/README ## -@@ compat/vcbuild/README: The Steps of Build Git with VS2008 - - You can either use the binary repository: - -- WWW: http://repo.or.cz/w/msvcgit.git -+ WWW: https://repo.or.cz/w/msvcgit.git - Git: git clone git://repo.or.cz/msvcgit.git -- Zip: http://repo.or.cz/w/msvcgit.git?a=snapshot;h=master;sf=zip -+ Zip: https://repo.or.cz/w/msvcgit.git?a=snapshot;h=master;sf=zip - - and call the setup_32bit_env.cmd batch script before compiling Git, - (see repo/package README for details), or the source repository: - -- WWW: http://repo.or.cz/w/gitbuild.git -+ WWW: https://repo.or.cz/w/gitbuild.git - Git: git clone git://repo.or.cz/gitbuild.git - Zip: (None, as it's a project with submodules) - -@@ compat/vcbuild/README: The Steps of Build Git with VS2008 - 2. Ensure you have the msysgit environment in your path, so you have - GNU Make, bash and perl available. - -- WWW: http://repo.or.cz/w/msysgit.git -+ WWW: https://repo.or.cz/w/msysgit.git - Git: git clone git://repo.or.cz/msysgit.git -- Zip: http://repo.or.cz/w/msysgit.git?a=snapshot;h=master;sf=zip -+ Zip: https://repo.or.cz/w/msysgit.git?a=snapshot;h=master;sf=zip - - This environment is also needed when you use the resulting - executables, since Git might need to run scripts which are part of - - ## contrib/completion/git-completion.bash ## -@@ contrib/completion/git-completion.bash: __git_dequote () - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License --# along with this program; if not, see <http://www.gnu.org/licenses/>. -+# along with this program; if not, see <https://www.gnu.org/licenses/>. - # - # The latest version of this software can be obtained here: - # - - ## contrib/credential/libsecret/git-credential-libsecret.c ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - - /* - - ## contrib/fast-import/import-directories.perl ## -@@ - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License --# along with this program; if not, see <http://www.gnu.org/licenses/>. -+# along with this program; if not, see <https://www.gnu.org/licenses/>. - # - # ------------------------------------------------------------------------ - - - ## contrib/hg-to-git/hg-to-git.py ## -@@ - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License -- along with this program; if not, see <http://www.gnu.org/licenses/>. -+ along with this program; if not, see <https://www.gnu.org/licenses/>. - """ - - import os, os.path, sys - - ## contrib/mw-to-git/t/test-gitmw-lib.sh ## -@@ contrib/mw-to-git/t/test-gitmw-lib.sh: wiki_install () { - if ! test -f $MW_FILENAME - then - echo "Downloading $MW_VERSION_MAJOR.$MW_VERSION_MINOR sources ..." -- wget "http://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/$MW_FILENAME" || -+ wget "https://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/$MW_FILENAME" || - error "Unable to download "\ -- "http://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/"\ -+ "https://download.wikimedia.org/mediawiki/$MW_VERSION_MAJOR/"\ - "$MW_FILENAME. "\ - "Please fix your connection and launch the script again." - echo "$MW_FILENAME downloaded in $(pwd)/;" \ - - ## contrib/persistent-https/LICENSE ## -@@ - - Apache License - Version 2.0, January 2004 -- http://www.apache.org/licenses/ -+ https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - - ## contrib/persistent-https/README ## -@@ contrib/persistent-https/README: PREREQUISITES - The code is written in Go (http://golang.org/) and the Go compiler is - required. Currently, the compiler must be built and installed from tip - of source, in order to include a fix in the reverse http proxy: --http://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 -+https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 - - - BUILDING - - ## contrib/thunderbird-patch-inline/appp.sh ## -@@ - # AppendPatch - A script to be used together with ExternalEditor - # for Mozilla Thunderbird to properly include patches inline in e-mails. - --# ExternalEditor can be downloaded at http://globs.org/articles.php?lng=en&pg=2 -+# ExternalEditor can be downloaded at https://globs.org/articles.php?lng=en&pg=2 - - CONFFILE=~/.appprc - - - ## contrib/update-unicode/update_unicode.sh ## -@@ - #!/bin/sh --#See http://www.unicode.org/reports/tr44/ -+#See https://www.unicode.org/reports/tr44/ - # - #Me Enclosing_Mark an enclosing combining mark - #Mn Nonspacing_Mark a nonspacing combining mark (zero advance width) -@@ - cd "$(dirname "$0")" - UNICODEWIDTH_H=$(git rev-parse --show-toplevel)/unicode-width.h - --wget -N http://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt \ -- http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt && -+wget -N https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt \ -+ https://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt && - if ! test -d uniset; then - git clone https://github.com/depp/uniset.git && - ( cd uniset && git checkout 4b186196dd ) - - ## convert.c ## -@@ convert.c: static int encode_to_git(const char *path, const char *src, size_t src_len, - * generate a faulty round trip without an iconv error. Iconv errors - * are already caught above. - * -- * [1] http://unicode.org/faq/utf_bom.html#gen2 -+ * [1] https://unicode.org/faq/utf_bom.html#gen2 - * [2] https://support.microsoft.com/en-us/help/170559/prb-conversion-problem-between-shift-jis-and-unicode - */ - if (die_on_error && check_roundtrip(enc)) { - - ## ewah/bitmap.c ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #include "git-compat-util.h" - #include "ewok.h" - - ## ewah/ewah_bitmap.c ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #include "git-compat-util.h" - #include "ewok.h" - - ## ewah/ewah_io.c ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #include "git-compat-util.h" - #include "ewok.h" - - ## ewah/ewah_rlw.c ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #include "git-compat-util.h" - #include "ewok.h" - - ## ewah/ewok.h ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #ifndef __EWOK_BITMAP_H__ - #define __EWOK_BITMAP_H__ -@@ ewah/ewok.h: typedef uint64_t eword_t; - * Do not use __builtin_popcountll. The GCC implementation - * is notoriously slow on all platforms. - * -- * See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041 -+ * See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041 - */ - static inline uint32_t ewah_bit_popcount64(uint64_t x) - { - - ## ewah/ewok_rlw.h ## -@@ - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License -- * along with this program; if not, see <http://www.gnu.org/licenses/>. -+ * along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - #ifndef __EWOK_RLW_H__ - #define __EWOK_RLW_H__ - ## git-cvsimport.perl ## @@ git-cvsimport.perl: sub conn { # Use a HTTP Proxy. Only works for HTTP proxies that @@ utf8.h: int has_prohibited_utf_bom(const char *enc, const char *data, size_t len * Section 3.10, D98, page 132 * [3] https://encoding.spec.whatwg.org/#utf-16le */ - - ## xdiff/xdiff.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xdiffi.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xdiffi.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xemit.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xemit.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xinclude.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xmacros.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xmerge.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xpatience.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xprepare.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xprepare.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xtypes.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xutils.c ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * - - ## xdiff/xutils.h ## -@@ - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see -- * <http://www.gnu.org/licenses/>. -+ * <https://www.gnu.org/licenses/>. - * - * Davide Libenzi <davidel@xmailserver.org> - * 2: f9f3f4af1c8 ! 2: 80eb5da8ed4 doc: update links to current pages @@ Metadata ## Commit message ## doc: update links to current pages + It's somewhat traditional to respect sites' self-identification. + Signed-off-by: Josh Soref <jsoref@gmail.com> ## Documentation/CodingGuidelines ## @@ Documentation/git-format-patch.txt: Approach #3 (external editor) 1. Prepare the patch as a text file using your method of choice. - ## Documentation/git-ls-remote.txt ## -@@ Documentation/git-ls-remote.txt: d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 - * List all references matching given patterns: - + - ---- --$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc -+$ git ls-remote https://git.kernel.org/pub/scm/git/git.git master seen rc - 5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master - c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen - ---- -@@ Documentation/git-ls-remote.txt: c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen - * List only tags matching a given wildcard pattern: - + - ---- --$ git ls-remote --tags http://www.kernel.org/pub/scm/git/git.git v\* -+$ git ls-remote --tags https://git.kernel.org/pub/scm/git/git.git v\* - 485a869c64a68cc5795dd99689797c5900f4716d refs/tags/v2.39.2 - cbf04937d5b9fcf0a76c28f69e6294e9e3ecd7e6 refs/tags/v2.39.2^{} - d4ca2e3147b409459955613c152220f4db848ee1 refs/tags/v2.40.0 - ## Documentation/git.txt ## @@ Documentation/git.txt: Authors ------- @@ Documentation/git.txt: Authors If you have a clone of git.git itself, the - ## Documentation/gitcore-tutorial.txt ## -@@ Documentation/gitcore-tutorial.txt: Examples. - - the above are equivalent to: - --. `git pull http://www.kernel.org/pub/scm/git/git.git/ HEAD` --. `git pull http://www.kernel.org/pub/scm/git/git.git/ tag v0.99.1` -+. `git pull https://git.kernel.org/pub/scm/git/git.git/ HEAD` -+. `git pull https://git.kernel.org/pub/scm/git/git.git/ tag v0.99.1` - - - How does the merge work? - - ## compat/nedmalloc/malloc.c.h ## -@@ compat/nedmalloc/malloc.c.h: LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); - /* --[ start GCC compatibility ]---------------------------------------------- - * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic - * Microsoft Visual C++ functions. Originally developed for the ReactOS -- * (<http://www.reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) -+ * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) - * projects. - * - * Copyright (c) 2006 KJK::Hyperion <hackbunny@reactos.com> - - ## contrib/persistent-https/README ## -@@ contrib/persistent-https/README: https://kernel.googlesource.com/pub/scm/git/git - - PREREQUISITES - --The code is written in Go (http://golang.org/) and the Go compiler is -+The code is written in Go (https://go.dev/) and the Go compiler is - required. Currently, the compiler must be built and installed from tip - of source, in order to include a fix in the reverse http proxy: - https://code.google.com/p/go/source/detail?r=a615b796570a2cd8591884767a7d67ede74f6648 - ## git-gui/git-gui.sh ## @@ git-gui/git-gui.sh: proc do_quit {{rc {1}}} { set ret_code $rc 3: 100ea749b5b ! 3: 7cfd7b244ea doc: update links for andre-simon.de @@ Metadata ## Commit message ## doc: update links for andre-simon.de + Beyond the fact that it's somewhat traditional to respect sites' + self-identification, it's helpful for links to point to the things + that people expect them to reference. Here that means linking to + specific pages instead of a domain. + Signed-off-by: Josh Soref <jsoref@gmail.com> ## Documentation/gitweb.conf.txt ## 4: db71330d1ca ! 4: 9f0bba69492 doc: refer to internet archive @@ Metadata ## Commit message ## doc: refer to internet archive - Signed-off-by: Josh Soref <jsoref@gmail.com> + These pages are no longer reachable from their original locations, + which makes things difficult for readers. Instead, switch to linking to + the Internet Archive for the content. - ## compat/nedmalloc/malloc.c.h ## -@@ compat/nedmalloc/malloc.c.h: LONG __cdecl _InterlockedExchange(LONG volatile *Target, LONG Value); - /* --[ start GCC compatibility ]---------------------------------------------- - * Compatibility <intrin_x86.h> header for GCC -- GCC equivalents of intrinsic - * Microsoft Visual C++ functions. Originally developed for the ReactOS -- * (<https://reactos.org/>) and TinyKrnl (<http://www.tinykrnl.org/>) -+ * (<https://reactos.org/>) and TinyKrnl (<https://web.archive.org/web/20060409205924/http://www.tinykrnl.org/>) - * projects. - * - * Copyright (c) 2006 KJK::Hyperion <hackbunny@reactos.com> + Signed-off-by: Josh Soref <jsoref@gmail.com> ## gitweb/gitweb.perl ## @@ gitweb/gitweb.perl: sub git_feed { -- gitgitgadget ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v2 1/4] doc: switch links to https 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget @ 2023-09-24 10:57 ` Josh Soref via GitGitGadget 2023-11-23 21:19 ` Elijah Newren 2023-09-24 10:57 ` [PATCH v2 2/4] doc: update links to current pages Josh Soref via GitGitGadget ` (4 subsequent siblings) 5 siblings, 1 reply; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-24 10:57 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> It's somewhat traditional to respect sites' self-identification. Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/CodingGuidelines | 2 +- Documentation/MyFirstContribution.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-format-patch.txt | 2 +- Documentation/git-imap-send.txt | 2 +- Documentation/git-send-email.txt | 2 +- Documentation/gitcore-tutorial.txt | 2 +- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 2 +- Documentation/gitweb.txt | 2 +- Documentation/howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 4 ++-- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/js/lib/common-lib.js | 8 ++++---- graph.h | 4 ++-- imap-send.c | 2 +- json-writer.h | 2 +- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- 45 files changed, 58 insertions(+), 58 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 65af8d82ced..94d4d869039 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -24,7 +24,7 @@ code. For Git in general, a few rough rules are: "Once it _is_ in the tree, it's not really worth the patch noise to go and fix it up." - Cf. http://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html + Cf. https://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html - Log messages to explain your changes are as important as the changes themselves. Clearly written code and in-code comments diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt index 62d11a5cd7f..710a1f9d915 100644 --- a/Documentation/MyFirstContribution.txt +++ b/Documentation/MyFirstContribution.txt @@ -832,7 +832,7 @@ Johannes Schindelin to make life as a Git contributor easier for those used to the GitHub PR workflow. It allows contributors to open pull requests against its mirror of the Git project, and does some magic to turn the PR into a set of emails and send them out for you. It also runs the Git continuous integration -suite for you. It's documented at http://gitgitgadget.github.io. +suite for you. It's documented at https://gitgitgadget.github.io/. [[create-fork]] === Forking `git/git` on GitHub diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index b3f27671a0c..e107ae930de 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -221,7 +221,7 @@ Problems related to tags: If you suspect that any of these issues may apply to the repository you want to import, consider using cvs2git: -* cvs2git (part of cvs2svn), `http://subversion.apache.org/` +* cvs2git (part of cvs2svn), `https://subversion.apache.org/` GIT --- diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 711823a7f4e..06aa8bf0741 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -611,7 +611,7 @@ Approach #3 (external editor) The following Thunderbird extensions are needed: AboutConfig from http://aboutconfig.mozdev.org/ and -External Editor from http://globs.org/articles.php?lng=en&pg=8 +External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt index f7b18515141..c8a89d7243b 100644 --- a/Documentation/git-imap-send.txt +++ b/Documentation/git-imap-send.txt @@ -135,7 +135,7 @@ flames ridiculing you if you don't check this. Thunderbird in particular is known to be problematic. Thunderbird users may wish to visit this web page for more information: - http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email + https://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email SEE ALSO -------- diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index 492a82323da..23c75d26f93 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -453,7 +453,7 @@ have been specified, in which case default to 'compose'. 998 characters unless a suitable transfer encoding ('auto', 'base64', or 'quoted-printable') is used; this is due to SMTP limits as described by - http://www.ietf.org/rfc/rfc5322.txt. + https://www.ietf.org/rfc/rfc5322.txt. -- + Default is the value of `sendemail.validate`; if this is not set, diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index c0b95256cc8..2122aeb9769 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -1089,7 +1089,7 @@ the remote repository URL in the local repository's config file like this: ------------------------------------------------ -$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/ +$ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/ ------------------------------------------------ and use the "linus" keyword with 'git pull' instead of the full URL. diff --git a/Documentation/gitprotocol-http.txt b/Documentation/gitprotocol-http.txt index ccc13f0a407..7533f0e61b7 100644 --- a/Documentation/gitprotocol-http.txt +++ b/Documentation/gitprotocol-http.txt @@ -529,8 +529,8 @@ TODO: Document this further. REFERENCES ---------- -http://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] -http://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] +https://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] +https://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] SEE ALSO -------- diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 34b1d6e2243..1edabdfef36 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash (\'h' gitweb parameter) and `%b` to the current hash base (\'hb' gitweb parameter); `%%` expands to \'%'. + -For example, at the time this page was written, the http://repo.or.cz[] +For example, at the time this page was written, the https://repo.or.cz[] Git hosting site set it to the following to enable graphical log (using the third party tool *git-browser*): + diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt index af6bf3c45ec..434893595a4 100644 --- a/Documentation/gitweb.txt +++ b/Documentation/gitweb.txt @@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories. Its features include: revisions one at a time, viewing the history of the repository. * Finding commits which commit messages matches given search term. -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, browsed using gitweb itself. diff --git a/Documentation/howto/keep-canonical-history-correct.txt b/Documentation/howto/keep-canonical-history-correct.txt index 35d48ef714e..5f800fd85a3 100644 --- a/Documentation/howto/keep-canonical-history-correct.txt +++ b/Documentation/howto/keep-canonical-history-correct.txt @@ -213,4 +213,4 @@ The procedure will result in a history that looks like this: B0--B1---------B2 ------------ -See also http://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html +See also https://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html diff --git a/Documentation/signoff-option.txt b/Documentation/signoff-option.txt index 12aa2333e46..d98758f3cb7 100644 --- a/Documentation/signoff-option.txt +++ b/Documentation/signoff-option.txt @@ -9,7 +9,7 @@ endif::git-commit[] the committer has the rights to submit the work under the project's license or agrees to some contributor representation, such as a Developer Certificate of Origin. - (See http://developercertificate.org for the one used by the + (See https://developercertificate.org for the one used by the Linux kernel and Git projects.) Consult the documentation or leadership of the project to which you're contributing to understand how the signoffs are used in that project. diff --git a/INSTALL b/INSTALL index 4b422888828..020eba62afb 100644 --- a/INSTALL +++ b/INSTALL @@ -124,7 +124,7 @@ Issues of note: interacting with svn repositories with "git svn"). If you can live without these, use NO_PERL. Note that recent releases of Redhat/Fedora are reported to ship Perl binary package with some - core modules stripped away (see http://lwn.net/Articles/477234/), + core modules stripped away (see https://lwn.net/Articles/477234/), so you might need to install additional packages other than Perl itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain, Net::SMTP, and Time::HiRes. diff --git a/Makefile b/Makefile index 57763093653..de1603a04fe 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ include shared.mak # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound. # # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback, -# as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) +# as the compiler can crash (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) # # Define USE_NSEC below if you want git to care about sub-second file mtimes # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On @@ -2720,7 +2720,7 @@ $(OBJECTS): %.o: %.c GIT-CFLAGS $(missing_dep_dirs) $(missing_compdb_dir) ifdef USE_COMPUTED_HEADER_DEPENDENCIES # Take advantage of gcc's on-the-fly dependency generation -# See <http://gcc.gnu.org/gcc-3.0/features.html>. +# See <https://gcc.gnu.org/gcc-3.0/features.html>. dep_files_present := $(wildcard $(dep_files)) ifneq ($(dep_files_present),) include $(dep_files_present) diff --git a/README.md b/README.md index 7ce4f05bae8..2c3de2f9c80 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ string translations (localization l10) should see [po/README.md][] To subscribe to the list, send an email with just "subscribe git" in the body to majordomo@vger.kernel.org (not the Git list). The mailing list archives are available at <https://lore.kernel.org/git/>, -<http://marc.info/?l=git> and other archival sites. +<https://marc.info/?l=git> and other archival sites. Issues which are security relevant should be disclosed privately to the Git Security mailing list <git-security@googlegroups.com>. diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 7bf3c12d678..da77a1bf157 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -329,7 +329,7 @@ sub conn { # Use a HTTP Proxy. Only works for HTTP proxies that # don't require user authentication # - # See: http://www.ietf.org/rfc/rfc2817.txt + # See: https://www.ietf.org/rfc/rfc2817.txt $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport); die "Socket to $proxyhost: $!\n" unless defined $s; diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 8bc8892c400..1d6102e0674 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -24,7 +24,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; if not, see <http://www.gnu.org/licenses/>.}] +along with this program; if not, see <https://www.gnu.org/licenses/>.}] ###################################################################### ## @@ -3075,7 +3075,7 @@ if {$doc_path ne {}} { if {[file isfile $doc_path]} { set doc_url "file:$doc_path" } else { - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/} + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/} } proc start_browser {url} { diff --git a/git-gui/lib/encoding.tcl b/git-gui/lib/encoding.tcl index 32668fc9c6d..d2e0fa60c3b 100644 --- a/git-gui/lib/encoding.tcl +++ b/git-gui/lib/encoding.tcl @@ -3,7 +3,7 @@ # (Copied from gitk, commit fd8ccbec4f0161) # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/git-gui/po/README b/git-gui/po/README index 2514bc22abf..116233100d7 100644 --- a/git-gui/po/README +++ b/git-gui/po/README @@ -39,7 +39,7 @@ in your language? If you do not know what your language should be named, you need to find it. This currently follows ISO 639-1 two letter codes: - http://www.loc.gov/standards/iso639-2/php/code_list.php + https://www.loc.gov/standards/iso639-2/php/code_list.php For example, if you are preparing a translation for Afrikaans, the language code is "af". If there already is a translation for your diff --git a/git-instaweb.sh b/git-instaweb.sh index c68f49454cd..994431c8872 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -432,7 +432,7 @@ mongoose_conf() { # Mongoose web server configuration file. # Lines starting with '#' and empty lines are ignored. # For detailed description of every option, visit -# http://code.google.com/p/mongoose/wiki/MongooseManual +# https://code.google.com/p/mongoose/wiki/MongooseManual root $root ports $port @@ -458,7 +458,7 @@ plackup_conf () { #!$PERL # gitweb - simple web interface to track changes in git repositories -# PSGI wrapper and server starter (see http://plackperl.org) +# PSGI wrapper and server starter (see https://plackperl.org) use strict; diff --git a/gitk-git/gitk b/gitk-git/gitk index df3ba2ea99b..1db46977df0 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -11956,7 +11956,7 @@ proc formatdate {d} { } # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index e66eb3d9bad..d23468690ed 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -122,9 +122,9 @@ our $favicon = "++GITWEB_FAVICON++"; our $javascript = "++GITWEB_JS++"; # URI and label (title) of GIT logo link -#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/"; +#our $logo_url = "https://www.kernel.org/pub/software/scm/git/docs/"; #our $logo_label = "git documentation"; -our $logo_url = "http://git-scm.com/"; +our $logo_url = "https://git-scm.com/"; our $logo_label = "git homepage"; # source of projects list diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 018bbb7d4cb..17b1796496d 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -123,8 +123,8 @@ function addCssRule(selector, style) { * NOTE that there are limits and differences compared to native * getElementsByClassName as defined by e.g.: * https://developer.mozilla.org/en/DOM/document.getElementsByClassName - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname * * Namely, this implementation supports only single class name as * argument and not set of space-separated tokens representing classes, @@ -133,9 +133,9 @@ function addCssRule(selector, style) { * (via getElementsByTagName). * * Based on - * http://code.google.com/p/getelementsbyclassname/ + * https://code.google.com/p/getelementsbyclassname/ * http://www.dustindiaz.com/getelementsbyclass/ - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ * diff --git a/graph.h b/graph.h index e88632a0140..3fd1dcb2e94 100644 --- a/graph.h +++ b/graph.h @@ -130,7 +130,7 @@ void graph_setup_line_prefix(struct diff_options *diffopt); * This functions must be called BEFORE graph_init() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to use HTML for colors. + * by CGit (https://git.zx2c4.com/cgit/) to use HTML for colors. */ void graph_set_column_colors(const char **colors, unsigned short colors_max); @@ -196,7 +196,7 @@ int graph_is_commit_finished(struct git_graph const *graph); * graph_update() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to wrap HTML around graph lines. + * by CGit (https://git.zx2c4.com/cgit/) to wrap HTML around graph lines. */ int graph_next_line(struct git_graph *graph, struct strbuf *sb); diff --git a/imap-send.c b/imap-send.c index 996651e4f80..3b2077e39b2 100644 --- a/imap-send.c +++ b/imap-send.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/json-writer.h b/json-writer.h index 209355e0f12..de140e54c98 100644 --- a/json-writer.h +++ b/json-writer.h @@ -3,7 +3,7 @@ /* * JSON data structures are defined at: - * [1] http://www.ietf.org/rfc/rfc7159.txt + * [1] https://www.ietf.org/rfc/rfc7159.txt * [2] http://json.org/ * * The JSON-writer API allows one to build JSON data structures using a diff --git a/kwset.c b/kwset.c index bbfcf815a56..695e47b7ccf 100644 --- a/kwset.c +++ b/kwset.c @@ -18,7 +18,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/kwset.h b/kwset.h index d42a793a301..c722664e5a7 100644 --- a/kwset.h +++ b/kwset.h @@ -20,7 +20,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/list.h b/list.h index 362a4cd7f5f..98428010f4d 100644 --- a/list.h +++ b/list.h @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. */ #ifndef LIST_H diff --git a/perl/FromCPAN/Error.pm b/perl/FromCPAN/Error.pm index d82b71325c6..5b97e0315d6 100644 --- a/perl/FromCPAN/Error.pm +++ b/perl/FromCPAN/Error.pm @@ -1025,7 +1025,7 @@ C<:warndie> handlers added by Paul Evans <leonerd@leonerd.org.uk> =head1 MAINTAINER -Shlomi Fish, L<http://www.shlomifish.org/> . +Shlomi Fish, L<https://www.shlomifish.org/> . =head1 PAST MAINTAINERS diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 6ce2e283c8d..7721708ce5d 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -1752,7 +1752,7 @@ sub tie_for_persistent_memoization { END { # Force cache writeout explicitly instead of waiting for # global destruction to avoid segfault in Storable: - # http://rt.cpan.org/Public/Bug/Display.html?id=36087 + # https://rt.cpan.org/Public/Bug/Display.html?id=36087 unmemoize_svn_mergeinfo_functions(); } diff --git a/protocol.h b/protocol.h index de66bf80f84..1e574bbd80b 100644 --- a/protocol.h +++ b/protocol.h @@ -18,7 +18,7 @@ * with Linus Torvalds <torvalds@osdl.org> as the point of * contact. September 2005. * - * See http://www.iana.org/assignments/port-numbers + * See https://www.iana.org/assignments/port-numbers */ #define DEFAULT_GIT_PORT 9418 diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 133496bd4d9..f69fd166105 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -31,7 +31,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* closeout.c - close standard output and standard error Copyright (C) 1998-2007 Free Software Foundation, Inc. @@ -47,7 +47,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include <errno.h> #include <stdio.h> diff --git a/t/README b/t/README index 61080859899..643c3905d49 100644 --- a/t/README +++ b/t/README @@ -32,7 +32,7 @@ the tests. ok 2 - plain with GIT_WORK_TREE ok 3 - plain bare -Since the tests all output TAP (see http://testanything.org) they can +Since the tests all output TAP (see https://testanything.org) they can be run with any TAP harness. Here's an example of parallel testing powered by a recent version of prove(1): @@ -1279,7 +1279,7 @@ Devel::Cover module. To install it do: sudo aptitude install libdevel-cover-perl # From the CPAN with cpanminus - curl -L http://cpanmin.us | perl - --sudo --self-upgrade + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade cpanm --sudo Devel::Cover Then, at the top-level: diff --git a/t/helper/test-regex.c b/t/helper/test-regex.c index bd871a735b4..80042eafc20 100644 --- a/t/helper/test-regex.c +++ b/t/helper/test-regex.c @@ -30,7 +30,7 @@ static int test_regex_bug(void) if (regexec(&r, str, 1, m, 0)) die("no match of pattern '%s' to string '%s'", pat, str); - /* http://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ + /* https://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ if (m[0].rm_so == 3) /* matches '\n' when it should not */ die("regex bug confirmed: re-build git with NO_REGEX=1"); diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh index e7786775a90..def22e70aed 100644 --- a/t/perf/perf-lib.sh +++ b/t/perf/perf-lib.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # These variables must be set before the inclusion of test-lib.sh below, # because it will change our working directory. diff --git a/t/t9114-git-svn-dcommit-merge.sh b/t/t9114-git-svn-dcommit-merge.sh index 32317d6bca5..e06538b1c85 100755 --- a/t/t9114-git-svn-dcommit-merge.sh +++ b/t/t9114-git-svn-dcommit-merge.sh @@ -27,7 +27,7 @@ cat << EOF # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # EOF } diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh index 759a14fa87c..3b5fea91822 100755 --- a/t/t9801-git-p4-branch.sh +++ b/t/t9801-git-p4-branch.sh @@ -466,7 +466,7 @@ test_expect_success 'git p4 clone complex branches with excluded files' ' ) ' -# From a report in http://stackoverflow.com/questions/11893688 +# From a report in https://stackoverflow.com/questions/11893688 # where --use-client-spec caused branch prefixes not to be removed; # every file in git appeared into a subdirectory of the branch name. test_expect_success 'use-client-spec detect-branches setup' ' diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 2f8868caa17..0b7ddcc5858 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # The semantics of the editor variables are that of invoking # sh -c "$EDITOR \"$@\"" files ... diff --git a/t/test-lib-github-workflow-markup.sh b/t/test-lib-github-workflow-markup.sh index 9c5339c577a..970c6538cba 100644 --- a/t/test-lib-github-workflow-markup.sh +++ b/t/test-lib-github-workflow-markup.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when run in GitHub # workflows; these functions will then override (empty) functions diff --git a/t/test-lib-junit.sh b/t/test-lib-junit.sh index 79c31c788b9..76cbbd3299d 100644 --- a/t/test-lib-junit.sh +++ b/t/test-lib-junit.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when the user asks # for JUnit XML; these functions will then override (empty) functions diff --git a/t/test-lib.sh b/t/test-lib.sh index 5ea5d1d62a0..9e4216a8e0b 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -13,7 +13,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # Test the binaries we have just built. The tests are kept in # t/ subdirectory and are run in 'trash directory' subdirectory. diff --git a/trace.c b/trace.c index 971a68abe84..8669ddfca25 100644 --- a/trace.c +++ b/trace.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/utf8.c b/utf8.c index 6a0dd25b0fe..6bfaefa28eb 100644 --- a/utf8.c +++ b/utf8.c @@ -2,7 +2,7 @@ #include "strbuf.h" #include "utf8.h" -/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */ +/* This code is originally from https://www.cl.cam.ac.uk/~mgk25/ucs/ */ static const char utf16_be_bom[] = {'\xFE', '\xFF'}; static const char utf16_le_bom[] = {'\xFF', '\xFE'}; diff --git a/utf8.h b/utf8.h index b68efef6f43..35df76086a6 100644 --- a/utf8.h +++ b/utf8.h @@ -83,7 +83,7 @@ void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned int wid * BOM must not be used [1]. The same applies for the UTF-32 equivalents. * The function returns true if this rule is violated. * - * [1] http://unicode.org/faq/utf_bom.html#bom10 + * [1] https://unicode.org/faq/utf_bom.html#bom10 */ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); @@ -99,8 +99,8 @@ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); * Therefore, strictly requiring a BOM seems to be the safest option for * content in Git. * - * [1] http://unicode.org/faq/utf_bom.html#gen6 - * [2] http://www.unicode.org/versions/Unicode10.0.0/ch03.pdf + * [1] https://unicode.org/faq/utf_bom.html#gen6 + * [2] https://www.unicode.org/versions/Unicode10.0.0/ch03.pdf * Section 3.10, D98, page 132 * [3] https://encoding.spec.whatwg.org/#utf-16le */ -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH v2 1/4] doc: switch links to https 2023-09-24 10:57 ` [PATCH v2 1/4] doc: switch " Josh Soref via GitGitGadget @ 2023-11-23 21:19 ` Elijah Newren 2023-11-24 3:12 ` Josh Soref 0 siblings, 1 reply; 35+ messages in thread From: Elijah Newren @ 2023-11-23 21:19 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref On Sun, Sep 24, 2023 at 5:53 AM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > [...] > diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt > index 34b1d6e2243..1edabdfef36 100644 > --- a/Documentation/gitweb.conf.txt > +++ b/Documentation/gitweb.conf.txt > @@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash > (\'h' gitweb parameter) and `%b` to the current hash base > (\'hb' gitweb parameter); `%%` expands to \'%'. > + > -For example, at the time this page was written, the http://repo.or.cz[] > +For example, at the time this page was written, the https://repo.or.cz[] Given the "at the time this page was written" comment, I'm not sure we should switch to https here. > Git hosting site set it to the following to enable graphical log > (using the third party tool *git-browser*): > + > diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt > index af6bf3c45ec..434893595a4 100644 > --- a/Documentation/gitweb.txt > +++ b/Documentation/gitweb.txt > @@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories. Its features include: > revisions one at a time, viewing the history of the repository. > * Finding commits which commit messages matches given search term. > > -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > browsed using gitweb itself. The suggested link gives a "404 - No such tree". Granted, the http: link also does that, but it'd be nicer to provide a non-broken link, which you can do by stripping the '/[]' from the end of the URL. > diff --git a/json-writer.h b/json-writer.h > index 209355e0f12..de140e54c98 100644 > --- a/json-writer.h > +++ b/json-writer.h > @@ -3,7 +3,7 @@ > > /* > * JSON data structures are defined at: > - * [1] http://www.ietf.org/rfc/rfc7159.txt > + * [1] https://www.ietf.org/rfc/rfc7159.txt > * [2] http://json.org/ As Eric commented on v1, the json.org link should also be converted to https. The rest of the patch that I didn't comment on looks fine. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 1/4] doc: switch links to https 2023-11-23 21:19 ` Elijah Newren @ 2023-11-24 3:12 ` Josh Soref 2023-11-24 15:33 ` Elijah Newren 0 siblings, 1 reply; 35+ messages in thread From: Josh Soref @ 2023-11-24 3:12 UTC (permalink / raw) To: Elijah Newren; +Cc: Josh Soref via GitGitGadget, git Elijah Newren wrote: > > -For example, at the time this page was written, the http://repo.or.cz[] > > +For example, at the time this page was written, the https://repo.or.cz[] > > Given the "at the time this page was written" comment, I'm not sure we > should switch to https here. I claim that it refers to the file that is presented to the user, which is current as of the time it was delivered by the specific version of the git package. > > -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > > +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > > browsed using gitweb itself. > > The suggested link gives a "404 - No such tree". Granted, the http: > link also does that, but it'd be nicer to provide a non-broken link, > which you can do by stripping the '/[]' from the end of the URL. The `[]` is part of AsciiDoc's [1] notation. I tripped on this when I first looked into this series (as I'm much more familiar w/ Markdown and Restructured Text). [1] https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/ ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 1/4] doc: switch links to https 2023-11-24 3:12 ` Josh Soref @ 2023-11-24 15:33 ` Elijah Newren 0 siblings, 0 replies; 35+ messages in thread From: Elijah Newren @ 2023-11-24 15:33 UTC (permalink / raw) To: Josh Soref; +Cc: Josh Soref via GitGitGadget, git On Thu, Nov 23, 2023 at 7:13 PM Josh Soref <jsoref@gmail.com> wrote: > > > > -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > > > +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, > > > browsed using gitweb itself. > > > > The suggested link gives a "404 - No such tree". Granted, the http: > > link also does that, but it'd be nicer to provide a non-broken link, > > which you can do by stripping the '/[]' from the end of the URL. > > The `[]` is part of AsciiDoc's [1] notation. I tripped on this when I > first looked into > this series (as I'm much more familiar w/ Markdown and Restructured Text). Ah, thanks for the explanation. > > [1] https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/ ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v2 2/4] doc: update links to current pages 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 1/4] doc: switch " Josh Soref via GitGitGadget @ 2023-09-24 10:57 ` Josh Soref via GitGitGadget 2023-11-23 21:27 ` Elijah Newren 2023-09-24 10:57 ` [PATCH v2 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget ` (3 subsequent siblings) 5 siblings, 1 reply; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-24 10:57 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> It's somewhat traditional to respect sites' self-identification. Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-format-patch.txt | 2 +- Documentation/git.txt | 2 +- git-gui/git-gui.sh | 2 +- gitk-git/gitk | 2 +- gitweb/static/js/lib/common-lib.js | 2 +- http.c | 2 +- imap-send.c | 2 +- json-writer.h | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 94d4d869039..81afc0b8df3 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -518,7 +518,7 @@ For Perl programs: For Python scripts: - - We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/). + - We follow PEP-8 (https://peps.python.org/pep-0008/). - As a minimum, we aim to be compatible with Python 2.7. diff --git a/Documentation/RelNotes/1.6.2.txt b/Documentation/RelNotes/1.6.2.txt index 980adfb3154..166d73c60fb 100644 --- a/Documentation/RelNotes/1.6.2.txt +++ b/Documentation/RelNotes/1.6.2.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.3.txt b/Documentation/RelNotes/1.6.3.txt index 4bcff945e01..bbf177fc3c5 100644 --- a/Documentation/RelNotes/1.6.3.txt +++ b/Documentation/RelNotes/1.6.3.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.4.txt b/Documentation/RelNotes/1.6.4.txt index a2a34b43a75..0fccfb0bf0b 100644 --- a/Documentation/RelNotes/1.6.4.txt +++ b/Documentation/RelNotes/1.6.4.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.5.txt b/Documentation/RelNotes/1.6.5.txt index 6c7f7da7eb9..79cb1b2b6df 100644 --- a/Documentation/RelNotes/1.6.5.txt +++ b/Documentation/RelNotes/1.6.5.txt @@ -21,7 +21,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.6.txt b/Documentation/RelNotes/1.6.6.txt index 3ed1e014337..88b86a827e8 100644 --- a/Documentation/RelNotes/1.6.6.txt +++ b/Documentation/RelNotes/1.6.6.txt @@ -63,7 +63,7 @@ users will fare this time. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index e107ae930de..90fdc2551a3 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -22,7 +22,7 @@ DESCRIPTION deprecated; it does not work with cvsps version 3 and later. If you are performing a one-shot import of a CVS repository consider using http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or -http://www.catb.org/esr/cvs-fast-export/[cvs-fast-export]. +https://gitlab.com/esr/cvs-fast-export[cvs-fast-export]. Imports a CVS repository into Git. It will either create a new repository, or incrementally import into an existing one. diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 06aa8bf0741..8ccc1973b80 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -610,7 +610,7 @@ Approach #3 (external editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The following Thunderbird extensions are needed: -AboutConfig from http://aboutconfig.mozdev.org/ and +AboutConfig from https://mjg.github.io/AboutConfig/ and External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. diff --git a/Documentation/git.txt b/Documentation/git.txt index 11228956cd5..c7292eb25d0 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -1061,7 +1061,7 @@ Authors ------- Git was started by Linus Torvalds, and is currently maintained by Junio C Hamano. Numerous contributions have come from the Git mailing list -<git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary +<git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary gives you a more complete list of contributors. If you have a clone of git.git itself, the diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 1d6102e0674..4a11d590b68 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -2390,7 +2390,7 @@ proc do_quit {{rc {1}}} { set ret_code $rc # Briefly enable send again, working around Tk bug - # http://sourceforge.net/tracker/?func=detail&atid=112997&aid=1821174&group_id=12997 + # https://sourceforge.net/p/tktoolkit/bugs/2343/ tk appname [appname] destroy . diff --git a/gitk-git/gitk b/gitk-git/gitk index 1db46977df0..7a087f123d7 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -12472,7 +12472,7 @@ if {[tk windowingsystem] eq "aqua"} { catch { # follow the XDG base directory specification by default. See - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html + # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { # XDG_CONFIG_HOME environment variable is set set config_file [file join $env(XDG_CONFIG_HOME) git gitk] diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 17b1796496d..99e3eb8c3d9 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -137,7 +137,7 @@ function addCssRule(selector, style) { * http://www.dustindiaz.com/getelementsbyclass/ * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ * * @param {String} class: name of _single_ class to find * @param {String} [taghint] limit search to given tags diff --git a/http.c b/http.c index e138b4b96fb..33c6011e8d8 100644 --- a/http.c +++ b/http.c @@ -1877,7 +1877,7 @@ static void write_accept_language(struct strbuf *buf) * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than * that, q-value will be smaller than 0.001, the minimum q-value the * HTTP specification allows. See - * http://tools.ietf.org/html/rfc7231#section-5.3.1 for q-value. + * https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1 for q-value. */ const int MAX_DECIMAL_PLACES = 3; const int MAX_LANGUAGE_TAGS = 1000; diff --git a/imap-send.c b/imap-send.c index 3b2077e39b2..448ca64c052 100644 --- a/imap-send.c +++ b/imap-send.c @@ -860,7 +860,7 @@ static void imap_close_store(struct imap_store *ctx) /* * hexchar() and cram() functions are based on the code from the isync - * project (http://isync.sf.net/). + * project (https://isync.sourceforge.io/). */ static char hexchar(unsigned int b) { diff --git a/json-writer.h b/json-writer.h index de140e54c98..04413bd1afd 100644 --- a/json-writer.h +++ b/json-writer.h @@ -4,7 +4,7 @@ /* * JSON data structures are defined at: * [1] https://www.ietf.org/rfc/rfc7159.txt - * [2] http://json.org/ + * [2] https://www.json.org/ * * The JSON-writer API allows one to build JSON data structures using a * simple wrapper around a "struct strbuf" buffer. It is intended as a -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH v2 2/4] doc: update links to current pages 2023-09-24 10:57 ` [PATCH v2 2/4] doc: update links to current pages Josh Soref via GitGitGadget @ 2023-11-23 21:27 ` Elijah Newren 2023-11-24 3:20 ` Josh Soref 0 siblings, 1 reply; 35+ messages in thread From: Elijah Newren @ 2023-11-23 21:27 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref On Sun, Sep 24, 2023 at 8:06 AM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > > From: Josh Soref <jsoref@gmail.com> > > It's somewhat traditional to respect sites' self-identification. I don't understand this comment; was it meant for patch 1? [...] > --- a/json-writer.h > +++ b/json-writer.h > @@ -4,7 +4,7 @@ > /* > * JSON data structures are defined at: > * [1] https://www.ietf.org/rfc/rfc7159.txt > - * [2] http://json.org/ > + * [2] https://www.json.org/ > * > * The JSON-writer API allows one to build JSON data structures using a > * simple wrapper around a "struct strbuf" buffer. It is intended as a Ah, you did fix the http/https thing for json, you just moved it to patch 2 because you also added the 'www.'. Got it. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 2/4] doc: update links to current pages 2023-11-23 21:27 ` Elijah Newren @ 2023-11-24 3:20 ` Josh Soref 0 siblings, 0 replies; 35+ messages in thread From: Josh Soref @ 2023-11-24 3:20 UTC (permalink / raw) To: Elijah Newren; +Cc: Josh Soref via GitGitGadget, git Elijah Newren wrote: > > It's somewhat traditional to respect sites' self-identification. > > I don't understand this comment; was it meant for patch 1? I'm trying to say that these sites tend to redirect to these forms as opposed to the previous forms. It applies to both commits. The reason to retain two distinct commits is that ideally the https only commit should be easier to review as it's generally just adding an `s` (in one case I've added a trailing `/` before a `.` that was used to end a sentence and which would result in a broken link if a user clicked on it...). > Ah, you did fix the http/https thing for json, you just moved it to > patch 2 because you also added the 'www.'. Got it. This confused too many people. I'm going to swap the order. ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v2 3/4] doc: update links for andre-simon.de 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 1/4] doc: switch " Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 2/4] doc: update links to current pages Josh Soref via GitGitGadget @ 2023-09-24 10:57 ` Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 4/4] doc: refer to internet archive Josh Soref via GitGitGadget ` (2 subsequent siblings) 5 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-24 10:57 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Beyond the fact that it's somewhat traditional to respect sites' self-identification, it's helpful for links to point to the things that people expect them to reference. Here that means linking to specific pages instead of a domain. Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/gitweb.conf.txt | 2 +- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/gitweb.css | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 1edabdfef36..417289dcd17 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -242,7 +242,7 @@ $mimetypes_file:: $highlight_bin:: Path to the highlight executable to use (it must be the one from - http://www.andre-simon.de[] due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php[] due to assumptions about parameters and output). By default set to 'highlight'; set it to full path to highlight executable if it is not installed on your web server's PATH. Note that 'highlight' feature must be set for gitweb to actually diff --git a/gitweb/INSTALL b/gitweb/INSTALL index a58e6b3c44b..0f8bc39ad84 100644 --- a/gitweb/INSTALL +++ b/gitweb/INSTALL @@ -203,7 +203,7 @@ You can specify the following configuration variables when building GIT: created. [Default: /etc/gitweb.conf] * HIGHLIGHT_BIN Path to the highlight executable to use (must be the one from - http://www.andre-simon.de due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php due to assumptions about parameters and output). Useful if highlight is not installed on your webserver's PATH. [Default: highlight] diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index d23468690ed..b6659410ef1 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -197,7 +197,7 @@ our @diff_opts = ('-M'); # taken from git_commit our $prevent_xss = 0; # Path to the highlight executable to use (must be the one from -# http://www.andre-simon.de due to assumptions about parameters and output). +# http://andre-simon.de/zip/download.php due to assumptions about parameters and output). # Useful if highlight is not installed on your webserver's PATH. # [Default: highlight] our $highlight_bin = "++HIGHLIGHT_BIN++"; @@ -269,7 +269,7 @@ our %avatar_size = ( # Leave it undefined (or set to 'undef') to turn off load checking. our $maxload = 300; -# configuration for 'highlight' (http://www.andre-simon.de/) +# configuration for 'highlight' (http://andre-simon.de/doku/highlight/en/highlight.php) # match by basename our %highlight_basename = ( #'Program' => 'py', diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 32126010326..48d2e510154 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -667,7 +667,7 @@ div.remote { } -/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ +/* Style definition generated by highlight 2.4.5, http://andre-simon.de/doku/highlight/en/highlight.php */ /* Highlighting theme definition: */ -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH v2 4/4] doc: refer to internet archive 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget ` (2 preceding siblings ...) 2023-09-24 10:57 ` [PATCH v2 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget @ 2023-09-24 10:57 ` Josh Soref via GitGitGadget 2023-11-23 21:33 ` Elijah Newren 2023-09-25 18:33 ` [PATCH v2 0/4] Switch links to https Junio C Hamano 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget 5 siblings, 1 reply; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-09-24 10:57 UTC (permalink / raw) To: git; +Cc: Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> These pages are no longer reachable from their original locations, which makes things difficult for readers. Instead, switch to linking to the Internet Archive for the content. Signed-off-by: Josh Soref <jsoref@gmail.com> --- gitweb/gitweb.perl | 4 ++-- sha1dc/sha1.c | 2 +- t/lib-gpg.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b6659410ef1..f12bed87db9 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -8192,8 +8192,8 @@ sub git_feed { my $format = shift || 'atom'; my $have_blame = gitweb_check_feature('blame'); - # Atom: http://www.atomenabled.org/developers/syndication/ - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ + # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ if ($format ne 'rss' && $format ne 'atom') { die_error(400, "Unknown web feed format"); } diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c index dede2cbddf9..f993ef9c690 100644 --- a/sha1dc/sha1.c +++ b/sha1dc/sha1.c @@ -88,7 +88,7 @@ /* * Should define Big Endian for a whitelist of known processors. See * https://sourceforge.net/p/predef/wiki/Endianness/ and - * http://www.oracle.com/technetwork/server-storage/solaris/portingtosolaris-138514.html + * https://web.archive.org/web/20140421151132/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html */ #define SHA1DC_BIGENDIAN diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 83b83c9abb5..add11e88fc0 100644 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -13,7 +13,7 @@ test_lazy_prereq GPG ' gpg_version=$(gpg --version 2>&1) test $? != 127 || exit 1 - # As said here: http://www.gnupg.org/documentation/faqs.html#q6.19 + # 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 # the gpg version 1.0.6 did not parse trust packets correctly, so for # that version, creation of signed tags using the generated key fails. case "$gpg_version" in diff --git a/t/t9816-git-p4-locked.sh b/t/t9816-git-p4-locked.sh index 932841003cf..5e904ac80d8 100755 --- a/t/t9816-git-p4-locked.sh +++ b/t/t9816-git-p4-locked.sh @@ -9,7 +9,7 @@ test_expect_success 'start p4d' ' ' # See -# http://www.perforce.com/perforce/doc.current/manuals/p4sag/03_superuser.html#1088563 +# https://web.archive.org/web/20150602090517/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html#superuser.basic.typemap_locking # for suggestions on how to configure "sitewide pessimistic locking" # where only one person can have a file open for edit at a time. test_expect_success 'init depot' ' -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH v2 4/4] doc: refer to internet archive 2023-09-24 10:57 ` [PATCH v2 4/4] doc: refer to internet archive Josh Soref via GitGitGadget @ 2023-11-23 21:33 ` Elijah Newren 2023-11-24 3:24 ` Josh Soref 0 siblings, 1 reply; 35+ messages in thread From: Elijah Newren @ 2023-11-23 21:33 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref On Sun, Sep 24, 2023 at 2:47 PM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > > From: Josh Soref <jsoref@gmail.com> > > These pages are no longer reachable from their original locations, > which makes things difficult for readers. Instead, switch to linking to > the Internet Archive for the content. Thanks, these all look good, except on of the old links works for me. Maybe it was just down the day you checked? More comments on that below... > > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > gitweb/gitweb.perl | 4 ++-- > sha1dc/sha1.c | 2 +- > t/lib-gpg.sh | 2 +- > t/t9816-git-p4-locked.sh | 2 +- > 4 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl > index b6659410ef1..f12bed87db9 100755 > --- a/gitweb/gitweb.perl > +++ b/gitweb/gitweb.perl > @@ -8192,8 +8192,8 @@ sub git_feed { > my $format = shift || 'atom'; > my $have_blame = gitweb_check_feature('blame'); > > - # Atom: http://www.atomenabled.org/developers/syndication/ > - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ > + # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ > + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ The original www.atomenabled.org link works for me. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 4/4] doc: refer to internet archive 2023-11-23 21:33 ` Elijah Newren @ 2023-11-24 3:24 ` Josh Soref 2023-11-24 15:32 ` Elijah Newren 0 siblings, 1 reply; 35+ messages in thread From: Josh Soref @ 2023-11-24 3:24 UTC (permalink / raw) To: Elijah Newren; +Cc: Josh Soref via GitGitGadget, git Elijah Newren wrote: > Thanks, these all look good, except on of the old links works for me. > Maybe it was just down the day you checked? > More comments on that below... > > - # Atom: http://www.atomenabled.org/developers/syndication/ > > - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ > > + # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ > > + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ > > The original www.atomenabled.org link works for me. That's odd. As you can see based on my archive.org link, at some point they had `https` support (their certificate expired Feb 7, 2021 UTC). Personally, as a former web browser developer, I'd rather people rely on archived authenticated content than content that could be rewritten in transit. That said, I'm going to drop this change. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 4/4] doc: refer to internet archive 2023-11-24 3:24 ` Josh Soref @ 2023-11-24 15:32 ` Elijah Newren 0 siblings, 0 replies; 35+ messages in thread From: Elijah Newren @ 2023-11-24 15:32 UTC (permalink / raw) To: Josh Soref; +Cc: Josh Soref via GitGitGadget, git On Thu, Nov 23, 2023 at 7:24 PM Josh Soref <jsoref@gmail.com> wrote: > > Elijah Newren wrote: > > Thanks, these all look good, except on of the old links works for me. > > Maybe it was just down the day you checked? > > > More comments on that below... > > > > - # Atom: http://www.atomenabled.org/developers/syndication/ > > > - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ > > > + # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ > > > + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ > > > > The original www.atomenabled.org link works for me. > > That's odd. As you can see based on my archive.org link, at some point > they had `https` support (their certificate expired Feb 7, 2021 UTC). > > Personally, as a former web browser developer, I'd rather people rely > on archived authenticated content than content that could be rewritten > in transit. I think that'd be perfectly reasonable, I was just thrown because the justification was that the links no longer worked. Mentioning why the changes are being made in the commit message, and in particular that there are two reasons for the changes, would have been sufficient. > That said, I'm going to drop this change. Your call. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 0/4] Switch links to https 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget ` (3 preceding siblings ...) 2023-09-24 10:57 ` [PATCH v2 4/4] doc: refer to internet archive Josh Soref via GitGitGadget @ 2023-09-25 18:33 ` Junio C Hamano 2023-09-25 18:55 ` Eric Sunshine 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget 5 siblings, 1 reply; 35+ messages in thread From: Junio C Hamano @ 2023-09-25 18:33 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Josh Soref "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes: > There are a couple of categories of http links The same comment applies to the previous round, but it is not clear how the categories of links that are HTTP in the current code (the first enumeration) are related to how HTTP links are modified in the series (the second enumeration). It is not like how the first one in the first list (i.e. must be HTTP) is handled is described by the first one in the second list (i.e. replace HTTP to HTTPS without doing anything else), as the number of bullet points are different. > * links that are required to be http: because they're copied from something > that mandates it (the apache license, xml namespaces, xsl docbook > things?) So these are in "must stay as-is" category? > * pages which exist at both http: and https: and can be safely switched "Can be switched" does not mean we should switch, does it? > * pages that have jittered a bit but are now available as https: ... but not available over HTTP:? If so, this falls into "must switch to avoid a dangling link" category? > * pages that have jittered a bit and are not available over https: Again, "must stay as-is"? > * pages that are gone and for which the best source is > https://web.archive.org Unfortunate, but definitely improves things. > * urls that were imaginary What is done to them? Just leave them as they are, or replace with another imaginary link over HTTPS? Hopefully we will see in the proposed commit log message of individual patches what kind of http:// links the patch deals with and how (e.g. "For some URLs in the documentation and the code, the original http:// links are not reachable and dangling but the same contents are still available at https://; for these URLs, replace http:// with https:// without doing anything else."). Let's read on. > In order: > > * doc: switch links to https -- the simplest > * doc: update links to current pages -- I found the current pages for > these, it should be easy enough to verify these / reject them > * doc: update links for andre-simon.de -- I've split this out, I don't like > the idea of having to download binaries over http. If this were my > project, I'd be tempted to remove the feature or self-host w/ https... > * doc: refer to internet archive -- the original urls are dead, I've found > internet archive date links for them. (There are some in git already, so > this seemed like a very reasonable choice.) > cc: Eric Sunshine sunshine@sunshineco.com cc: Josh Soref jsoref@gmail.com (administrivia) I am not sure what effect, if any, this line has. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v2 0/4] Switch links to https 2023-09-25 18:33 ` [PATCH v2 0/4] Switch links to https Junio C Hamano @ 2023-09-25 18:55 ` Eric Sunshine 0 siblings, 0 replies; 35+ messages in thread From: Eric Sunshine @ 2023-09-25 18:55 UTC (permalink / raw) To: Junio C Hamano; +Cc: Josh Soref via GitGitGadget, git, Josh Soref On Mon, Sep 25, 2023 at 2:35 PM Junio C Hamano <gitster@pobox.com> wrote: > "Josh Soref via GitGitGadget" <gitgitgadget@gmail.com> writes: > > cc: Eric Sunshine sunshine@sunshineco.com cc: Josh Soref jsoref@gmail.com > > (administrivia) I am not sure what effect, if any, this line has. GitGitGadget specially recognizes Cc: trailers in the pull-request's description[1] to ensure that the named individuals receive a copy of the emailed patch series, so this is a good way to Cc: people who commented upon previous versions of the series. Unfortunately, in this case, it appears that GitGitGadget ignored the two "cc:" lines because they weren't proper trailers; there are additional non-trailer lines following them in the pull-request's description (and they were taken as just more Markdown body content). [1]: https://github.com/gitgitgadget/git/pull/1589#issue-1908988061 ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v3 0/4] Switch links to https 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget ` (4 preceding siblings ...) 2023-09-25 18:33 ` [PATCH v2 0/4] Switch links to https Junio C Hamano @ 2023-11-24 3:35 ` Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 1/4] doc: update links to current pages Josh Soref via GitGitGadget ` (4 more replies) 5 siblings, 5 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-11-24 3:35 UTC (permalink / raw) To: git; +Cc: Eric Sunshine, Josh Soref, Elijah Newren, Josh Soref There are a couple of categories of http links... There are four categories worth changing: * pages that have jittered a bit but are now available as https: * pages which exist at both http: and https: and can be safely switched * pages that have jittered a bit and are not available over https: * pages that are gone and for which the best source is https://web.archive.org And some categories that aren't being changed: * links that are required to be http: because they're copied from something that mandates it (the apache license, xml namespaces, xsl docbook things?) * urls that were imaginary (e.g. http://example.com/repo.git) * links in borrowed code where the http: form still works In order: * doc: update links to current pages -- I found the current pages for these, it should be easy enough to verify these / reject them * doc: switch links to https -- the simplest * doc: update links for andre-simon.de -- I've split this out, I don't like the idea of having to download binaries over http. If this were my project, I'd be tempted to remove the feature or self-host w/ https... * doc: refer to internet archive -- the original urls are dead, I've found internet archive date links for them. (There are some in git already, so this seemed like a very reasonable choice.) Changes from v1: * Commit messages have been adjusted since v1 * files were dropped based on feedback from Junio Changes from v2: * The first two commits have been swapped (favoring more complicated urls over simply switching to https) * The archive.org link for atomenabled.org has been dropped, we'll risk users getting hacked content from an arbitrary MITM instead of taking archived authenticated content based on the last time their web site was properly maintained. Josh Soref (4): doc: update links to current pages doc: switch links to https doc: update links for andre-simon.de doc: refer to internet archive Documentation/CodingGuidelines | 2 +- Documentation/MyFirstContribution.txt | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 4 ++-- Documentation/git-format-patch.txt | 4 ++-- Documentation/git-imap-send.txt | 2 +- Documentation/git-send-email.txt | 2 +- Documentation/git.txt | 2 +- Documentation/gitcore-tutorial.txt | 2 +- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 4 ++-- Documentation/gitweb.txt | 2 +- Documentation/howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 6 +++--- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 4 ++-- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 10 +++++----- gitweb/static/gitweb.css | 2 +- gitweb/static/js/lib/common-lib.js | 10 +++++----- graph.h | 4 ++-- http.c | 2 +- imap-send.c | 4 ++-- json-writer.h | 4 ++-- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- sha1dc/sha1.c | 2 +- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/lib-gpg.sh | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- 57 files changed, 81 insertions(+), 81 deletions(-) base-commit: 564d0252ca632e0264ed670534a51d18a689ef5d Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1589%2Fjsoref%2Fhttps-v3 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1589/jsoref/https-v3 Pull-Request: https://github.com/gitgitgadget/git/pull/1589 Range-diff vs v2: 2: 80eb5da8ed4 ! 1: 54d3861aedf doc: update links to current pages @@ Documentation/git-format-patch.txt: Approach #3 (external editor) The following Thunderbird extensions are needed: -AboutConfig from http://aboutconfig.mozdev.org/ and +-External Editor from http://globs.org/articles.php?lng=en&pg=8 +AboutConfig from https://mjg.github.io/AboutConfig/ and - External Editor from https://globs.org/articles.php?lng=en&pg=8 ++External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. + ## Documentation/git.txt ## @@ Documentation/git.txt: Authors @@ gitk-git/gitk: if {[tk windowingsystem] eq "aqua"} { ## gitweb/static/js/lib/common-lib.js ## @@ gitweb/static/js/lib/common-lib.js: function addCssRule(selector, style) { * http://www.dustindiaz.com/getelementsbyclass/ - * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript + * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ @@ json-writer.h @@ /* * JSON data structures are defined at: - * [1] https://www.ietf.org/rfc/rfc7159.txt + * [1] http://www.ietf.org/rfc/rfc7159.txt - * [2] http://json.org/ + * [2] https://www.json.org/ * 1: 71ed1286d7f ! 2: cd44658f408 doc: switch links to https @@ Metadata ## Commit message ## doc: switch links to https - It's somewhat traditional to respect sites' self-identification. + 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> - ## Documentation/CodingGuidelines ## -@@ Documentation/CodingGuidelines: code. For Git in general, a few rough rules are: - - "Once it _is_ in the tree, it's not really worth the patch noise to - go and fix it up." -- Cf. http://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html -+ Cf. https://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html - - - Log messages to explain your changes are as important as the - changes themselves. Clearly written code and in-code comments - ## Documentation/MyFirstContribution.txt ## @@ Documentation/MyFirstContribution.txt: Johannes Schindelin to make life as a Git contributor easier for those used to the GitHub PR workflow. It allows contributors to open pull requests against its @@ Documentation/git-cvsimport.txt: Problems related to tags: GIT --- - ## Documentation/git-format-patch.txt ## -@@ Documentation/git-format-patch.txt: Approach #3 (external editor) - - The following Thunderbird extensions are needed: - AboutConfig from http://aboutconfig.mozdev.org/ and --External Editor from http://globs.org/articles.php?lng=en&pg=8 -+External Editor from https://globs.org/articles.php?lng=en&pg=8 - - 1. Prepare the patch as a text file using your method of choice. - - ## Documentation/git-imap-send.txt ## @@ Documentation/git-imap-send.txt: flames ridiculing you if you don't check this. @@ Documentation/gitweb.conf.txt: filesystem (i.e. "$projectroot/$project"), `%h` t ## Documentation/gitweb.txt ## @@ Documentation/gitweb.txt: Gitweb provides a web interface to Git repositories. Its features include: revisions one at a time, viewing the history of the repository. - * Finding commits which commit messages matches given search term. + * Finding commits whose commit messages match a given search term. -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, @@ gitweb/static/js/lib/common-lib.js: function addCssRule(selector, style) { - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ * ## graph.h ## @@ json-writer.h * JSON data structures are defined at: - * [1] http://www.ietf.org/rfc/rfc7159.txt + * [1] https://www.ietf.org/rfc/rfc7159.txt - * [2] http://json.org/ + * [2] https://www.json.org/ * * The JSON-writer API allows one to build JSON data structures using a 3: 7cfd7b244ea = 3: 649ce9a9bd4 doc: update links for andre-simon.de 4: 9f0bba69492 ! 4: 6d614a00a97 doc: refer to internet archive @@ Commit message ## gitweb/gitweb.perl ## @@ gitweb/gitweb.perl: sub git_feed { - my $format = shift || 'atom'; my $have_blame = gitweb_check_feature('blame'); -- # Atom: http://www.atomenabled.org/developers/syndication/ + # Atom: http://www.atomenabled.org/developers/syndication/ - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ -+ # Atom: https://web.archive.org/web/20230815171113/https://www.atomenabled.org/developers/syndication/ + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ if ($format ne 'rss' && $format ne 'atom') { die_error(400, "Unknown web feed format"); -- gitgitgadget ^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH v3 1/4] doc: update links to current pages 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget @ 2023-11-24 3:35 ` Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 2/4] doc: switch links to https Josh Soref via GitGitGadget ` (3 subsequent siblings) 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-11-24 3:35 UTC (permalink / raw) To: git; +Cc: Eric Sunshine, Josh Soref, Elijah Newren, Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> It's somewhat traditional to respect sites' self-identification. Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/CodingGuidelines | 2 +- Documentation/RelNotes/1.6.2.txt | 2 +- Documentation/RelNotes/1.6.3.txt | 2 +- Documentation/RelNotes/1.6.4.txt | 2 +- Documentation/RelNotes/1.6.5.txt | 2 +- Documentation/RelNotes/1.6.6.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-format-patch.txt | 4 ++-- Documentation/git.txt | 2 +- git-gui/git-gui.sh | 2 +- gitk-git/gitk | 2 +- gitweb/static/js/lib/common-lib.js | 2 +- http.c | 2 +- imap-send.c | 2 +- json-writer.h | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 8d3a467c013..030a254b376 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -518,7 +518,7 @@ For Perl programs: For Python scripts: - - We follow PEP-8 (http://www.python.org/dev/peps/pep-0008/). + - We follow PEP-8 (https://peps.python.org/pep-0008/). - As a minimum, we aim to be compatible with Python 2.7. diff --git a/Documentation/RelNotes/1.6.2.txt b/Documentation/RelNotes/1.6.2.txt index 980adfb3154..166d73c60fb 100644 --- a/Documentation/RelNotes/1.6.2.txt +++ b/Documentation/RelNotes/1.6.2.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.3.txt b/Documentation/RelNotes/1.6.3.txt index 4bcff945e01..bbf177fc3c5 100644 --- a/Documentation/RelNotes/1.6.3.txt +++ b/Documentation/RelNotes/1.6.3.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.4.txt b/Documentation/RelNotes/1.6.4.txt index a2a34b43a75..0fccfb0bf0b 100644 --- a/Documentation/RelNotes/1.6.4.txt +++ b/Documentation/RelNotes/1.6.4.txt @@ -10,7 +10,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.5.txt b/Documentation/RelNotes/1.6.5.txt index 6c7f7da7eb9..79cb1b2b6df 100644 --- a/Documentation/RelNotes/1.6.5.txt +++ b/Documentation/RelNotes/1.6.5.txt @@ -21,7 +21,7 @@ To ease the transition plan, the receiving repository of such a push running this release will issue a big warning when the configuration variable is missing. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/RelNotes/1.6.6.txt b/Documentation/RelNotes/1.6.6.txt index 3ed1e014337..88b86a827e8 100644 --- a/Documentation/RelNotes/1.6.6.txt +++ b/Documentation/RelNotes/1.6.6.txt @@ -63,7 +63,7 @@ users will fare this time. Please refer to: - http://git.or.cz/gitwiki/GitFaq#non-bare + https://archive.kernel.org/oldwiki/git.wiki.kernel.org/index.php/GitFaq.html#non-bare https://lore.kernel.org/git/7vbptlsuyv.fsf@gitster.siamese.dyndns.org/ for more details on the reason why this change is needed and the diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index b3f27671a0c..ac03d7686cb 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -22,7 +22,7 @@ DESCRIPTION deprecated; it does not work with cvsps version 3 and later. If you are performing a one-shot import of a CVS repository consider using http://cvs2svn.tigris.org/cvs2git.html[cvs2git] or -http://www.catb.org/esr/cvs-fast-export/[cvs-fast-export]. +https://gitlab.com/esr/cvs-fast-export[cvs-fast-export]. Imports a CVS repository into Git. It will either create a new repository, or incrementally import into an existing one. diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index aaafce24be2..414da6b73e7 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -610,8 +610,8 @@ Approach #3 (external editor) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The following Thunderbird extensions are needed: -AboutConfig from http://aboutconfig.mozdev.org/ and -External Editor from http://globs.org/articles.php?lng=en&pg=8 +AboutConfig from https://mjg.github.io/AboutConfig/ and +External Editor from https://globs.org/articles.php?lng=en&pg=8 1. Prepare the patch as a text file using your method of choice. diff --git a/Documentation/git.txt b/Documentation/git.txt index 2535a30194f..cf3468b3e99 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -1071,7 +1071,7 @@ Authors ------- Git was started by Linus Torvalds, and is currently maintained by Junio C Hamano. Numerous contributions have come from the Git mailing list -<git@vger.kernel.org>. http://www.openhub.net/p/git/contributors/summary +<git@vger.kernel.org>. https://openhub.net/p/git/contributors/summary gives you a more complete list of contributors. If you have a clone of git.git itself, the diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 3e5907a4609..2cbeaa483bb 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -2367,7 +2367,7 @@ proc do_quit {{rc {1}}} { set ret_code $rc # Briefly enable send again, working around Tk bug - # http://sourceforge.net/tracker/?func=detail&atid=112997&aid=1821174&group_id=12997 + # https://sourceforge.net/p/tktoolkit/bugs/2343/ tk appname [appname] destroy . diff --git a/gitk-git/gitk b/gitk-git/gitk index df3ba2ea99b..dd80ab8f3ba 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -12472,7 +12472,7 @@ if {[tk windowingsystem] eq "aqua"} { catch { # follow the XDG base directory specification by default. See - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html + # https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if {[info exists env(XDG_CONFIG_HOME)] && $env(XDG_CONFIG_HOME) ne ""} { # XDG_CONFIG_HOME environment variable is set set config_file [file join $env(XDG_CONFIG_HOME) git gitk] diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 018bbb7d4cb..0fdbc25728d 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -137,7 +137,7 @@ function addCssRule(selector, style) { * http://www.dustindiaz.com/getelementsbyclass/ * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * - * See also http://ejohn.org/blog/getelementsbyclassname-speed-comparison/ + * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ * * @param {String} class: name of _single_ class to find * @param {String} [taghint] limit search to given tags diff --git a/http.c b/http.c index 8f71bf00d89..8e5c4c91ea7 100644 --- a/http.c +++ b/http.c @@ -1902,7 +1902,7 @@ static void write_accept_language(struct strbuf *buf) * MAX_DECIMAL_PLACES must not be larger than 3. If it is larger than * that, q-value will be smaller than 0.001, the minimum q-value the * HTTP specification allows. See - * http://tools.ietf.org/html/rfc7231#section-5.3.1 for q-value. + * https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1 for q-value. */ const int MAX_DECIMAL_PLACES = 3; const int MAX_LANGUAGE_TAGS = 1000; diff --git a/imap-send.c b/imap-send.c index 996651e4f80..3d6fdf64868 100644 --- a/imap-send.c +++ b/imap-send.c @@ -860,7 +860,7 @@ static void imap_close_store(struct imap_store *ctx) /* * hexchar() and cram() functions are based on the code from the isync - * project (http://isync.sf.net/). + * project (https://isync.sourceforge.io/). */ static char hexchar(unsigned int b) { diff --git a/json-writer.h b/json-writer.h index 209355e0f12..75f4f99ab00 100644 --- a/json-writer.h +++ b/json-writer.h @@ -4,7 +4,7 @@ /* * JSON data structures are defined at: * [1] http://www.ietf.org/rfc/rfc7159.txt - * [2] http://json.org/ + * [2] https://www.json.org/ * * The JSON-writer API allows one to build JSON data structures using a * simple wrapper around a "struct strbuf" buffer. It is intended as a -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH v3 2/4] doc: switch links to https 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 1/4] doc: update links to current pages Josh Soref via GitGitGadget @ 2023-11-24 3:35 ` Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget ` (2 subsequent siblings) 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-11-24 3:35 UTC (permalink / raw) To: git; +Cc: Eric Sunshine, Josh Soref, Elijah Newren, Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> 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> --- Documentation/MyFirstContribution.txt | 2 +- Documentation/git-cvsimport.txt | 2 +- Documentation/git-imap-send.txt | 2 +- Documentation/git-send-email.txt | 2 +- Documentation/gitcore-tutorial.txt | 2 +- Documentation/gitprotocol-http.txt | 4 ++-- Documentation/gitweb.conf.txt | 2 +- Documentation/gitweb.txt | 2 +- Documentation/howto/keep-canonical-history-correct.txt | 2 +- Documentation/signoff-option.txt | 2 +- INSTALL | 2 +- Makefile | 4 ++-- README.md | 2 +- git-cvsimport.perl | 2 +- git-gui/git-gui.sh | 4 ++-- git-gui/lib/encoding.tcl | 2 +- git-gui/po/README | 2 +- git-instaweb.sh | 4 ++-- gitk-git/gitk | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/js/lib/common-lib.js | 8 ++++---- graph.h | 4 ++-- imap-send.c | 2 +- json-writer.h | 2 +- kwset.c | 2 +- kwset.h | 2 +- list.h | 2 +- perl/FromCPAN/Error.pm | 2 +- perl/Git/SVN.pm | 2 +- protocol.h | 2 +- sh-i18n--envsubst.c | 4 ++-- t/README | 4 ++-- t/helper/test-regex.c | 2 +- t/perf/perf-lib.sh | 2 +- t/t9114-git-svn-dcommit-merge.sh | 2 +- t/t9801-git-p4-branch.sh | 2 +- t/test-lib-functions.sh | 2 +- t/test-lib-github-workflow-markup.sh | 2 +- t/test-lib-junit.sh | 2 +- t/test-lib.sh | 2 +- trace.c | 2 +- utf8.c | 2 +- utf8.h | 6 +++--- 43 files changed, 56 insertions(+), 56 deletions(-) diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt index 7cfed60c2e9..279f6a3e7ca 100644 --- a/Documentation/MyFirstContribution.txt +++ b/Documentation/MyFirstContribution.txt @@ -833,7 +833,7 @@ Johannes Schindelin to make life as a Git contributor easier for those used to the GitHub PR workflow. It allows contributors to open pull requests against its mirror of the Git project, and does some magic to turn the PR into a set of emails and send them out for you. It also runs the Git continuous integration -suite for you. It's documented at http://gitgitgadget.github.io. +suite for you. It's documented at https://gitgitgadget.github.io/. [[create-fork]] === Forking `git/git` on GitHub diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index ac03d7686cb..90fdc2551a3 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -221,7 +221,7 @@ Problems related to tags: If you suspect that any of these issues may apply to the repository you want to import, consider using cvs2git: -* cvs2git (part of cvs2svn), `http://subversion.apache.org/` +* cvs2git (part of cvs2svn), `https://subversion.apache.org/` GIT --- diff --git a/Documentation/git-imap-send.txt b/Documentation/git-imap-send.txt index f7b18515141..c8a89d7243b 100644 --- a/Documentation/git-imap-send.txt +++ b/Documentation/git-imap-send.txt @@ -135,7 +135,7 @@ flames ridiculing you if you don't check this. Thunderbird in particular is known to be problematic. Thunderbird users may wish to visit this web page for more information: - http://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email + https://kb.mozillazine.org/Plain_text_e-mail_-_Thunderbird#Completely_plain_email SEE ALSO -------- diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index 465011bad50..30deb7fe2a4 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -454,7 +454,7 @@ have been specified, in which case default to 'compose'. 998 characters unless a suitable transfer encoding ('auto', 'base64', or 'quoted-printable') is used; this is due to SMTP limits as described by - http://www.ietf.org/rfc/rfc5322.txt. + https://www.ietf.org/rfc/rfc5322.txt. -- + Default is the value of `sendemail.validate`; if this is not set, diff --git a/Documentation/gitcore-tutorial.txt b/Documentation/gitcore-tutorial.txt index c0b95256cc8..2122aeb9769 100644 --- a/Documentation/gitcore-tutorial.txt +++ b/Documentation/gitcore-tutorial.txt @@ -1089,7 +1089,7 @@ the remote repository URL in the local repository's config file like this: ------------------------------------------------ -$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/ +$ git config remote.linus.url https://git.kernel.org/pub/scm/git/git.git/ ------------------------------------------------ and use the "linus" keyword with 'git pull' instead of the full URL. diff --git a/Documentation/gitprotocol-http.txt b/Documentation/gitprotocol-http.txt index 21b73b7a1f5..836b3490ccd 100644 --- a/Documentation/gitprotocol-http.txt +++ b/Documentation/gitprotocol-http.txt @@ -529,8 +529,8 @@ TODO: Document this further. REFERENCES ---------- -http://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] -http://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] +https://www.ietf.org/rfc/rfc1738.txt[RFC 1738: Uniform Resource Locators (URL)] +https://www.ietf.org/rfc/rfc2616.txt[RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1] SEE ALSO -------- diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index b078fef6f5c..20df3f0e253 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -820,7 +820,7 @@ filesystem (i.e. "$projectroot/$project"), `%h` to the current hash (\'h' gitweb parameter) and `%b` to the current hash base (\'hb' gitweb parameter); `%%` expands to \'%'. + -For example, at the time this page was written, the http://repo.or.cz[] +For example, at the time this page was written, the https://repo.or.cz[] Git hosting site set it to the following to enable graphical log (using the third party tool *git-browser*): + diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt index 1030e9667ea..ddd4a0fc705 100644 --- a/Documentation/gitweb.txt +++ b/Documentation/gitweb.txt @@ -28,7 +28,7 @@ Gitweb provides a web interface to Git repositories. Its features include: revisions one at a time, viewing the history of the repository. * Finding commits whose commit messages match a given search term. -See http://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, +See https://repo.or.cz/w/git.git/tree/HEAD:/gitweb/[] for gitweb source code, browsed using gitweb itself. diff --git a/Documentation/howto/keep-canonical-history-correct.txt b/Documentation/howto/keep-canonical-history-correct.txt index 35d48ef714e..5f800fd85a3 100644 --- a/Documentation/howto/keep-canonical-history-correct.txt +++ b/Documentation/howto/keep-canonical-history-correct.txt @@ -213,4 +213,4 @@ The procedure will result in a history that looks like this: B0--B1---------B2 ------------ -See also http://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html +See also https://git-blame.blogspot.com/2013/09/fun-with-first-parent-history.html diff --git a/Documentation/signoff-option.txt b/Documentation/signoff-option.txt index 12aa2333e46..d98758f3cb7 100644 --- a/Documentation/signoff-option.txt +++ b/Documentation/signoff-option.txt @@ -9,7 +9,7 @@ endif::git-commit[] the committer has the rights to submit the work under the project's license or agrees to some contributor representation, such as a Developer Certificate of Origin. - (See http://developercertificate.org for the one used by the + (See https://developercertificate.org for the one used by the Linux kernel and Git projects.) Consult the documentation or leadership of the project to which you're contributing to understand how the signoffs are used in that project. diff --git a/INSTALL b/INSTALL index 4b422888828..020eba62afb 100644 --- a/INSTALL +++ b/INSTALL @@ -124,7 +124,7 @@ Issues of note: interacting with svn repositories with "git svn"). If you can live without these, use NO_PERL. Note that recent releases of Redhat/Fedora are reported to ship Perl binary package with some - core modules stripped away (see http://lwn.net/Articles/477234/), + core modules stripped away (see https://lwn.net/Articles/477234/), so you might need to install additional packages other than Perl itself, e.g. Digest::MD5, File::Spec, File::Temp, Net::Domain, Net::SMTP, and Time::HiRes. diff --git a/Makefile b/Makefile index 03adcb5a480..1618ee27d28 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,7 @@ include shared.mak # Define NO_DEFLATE_BOUND if your zlib does not have deflateBound. # # Define NO_NORETURN if using buggy versions of gcc 4.6+ and profile feedback, -# as the compiler can crash (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) +# as the compiler can crash (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49299) # # Define USE_NSEC below if you want git to care about sub-second file mtimes # and ctimes. Note that you need recent glibc (at least 2.2.4) for this. On @@ -2723,7 +2723,7 @@ $(OBJECTS): %.o: %.c GIT-CFLAGS $(missing_dep_dirs) $(missing_compdb_dir) ifdef USE_COMPUTED_HEADER_DEPENDENCIES # Take advantage of gcc's on-the-fly dependency generation -# See <http://gcc.gnu.org/gcc-3.0/features.html>. +# See <https://gcc.gnu.org/gcc-3.0/features.html>. dep_files_present := $(wildcard $(dep_files)) ifneq ($(dep_files_present),) include $(dep_files_present) diff --git a/README.md b/README.md index 7ce4f05bae8..2c3de2f9c80 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ string translations (localization l10) should see [po/README.md][] To subscribe to the list, send an email with just "subscribe git" in the body to majordomo@vger.kernel.org (not the Git list). The mailing list archives are available at <https://lore.kernel.org/git/>, -<http://marc.info/?l=git> and other archival sites. +<https://marc.info/?l=git> and other archival sites. Issues which are security relevant should be disclosed privately to the Git Security mailing list <git-security@googlegroups.com>. diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 7bf3c12d678..da77a1bf157 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -329,7 +329,7 @@ sub conn { # Use a HTTP Proxy. Only works for HTTP proxies that # don't require user authentication # - # See: http://www.ietf.org/rfc/rfc2817.txt + # See: https://www.ietf.org/rfc/rfc2817.txt $s = IO::Socket::INET->new(PeerHost => $proxyhost, PeerPort => $proxyport); die "Socket to $proxyhost: $!\n" unless defined $s; diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh index 2cbeaa483bb..507fb2b6826 100755 --- a/git-gui/git-gui.sh +++ b/git-gui/git-gui.sh @@ -24,7 +24,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; if not, see <http://www.gnu.org/licenses/>.}] +along with this program; if not, see <https://www.gnu.org/licenses/>.}] ###################################################################### ## @@ -3052,7 +3052,7 @@ if {$doc_path ne {}} { if {[file isfile $doc_path]} { set doc_url "file:$doc_path" } else { - set doc_url {http://www.kernel.org/pub/software/scm/git/docs/} + set doc_url {https://www.kernel.org/pub/software/scm/git/docs/} } proc start_browser {url} { diff --git a/git-gui/lib/encoding.tcl b/git-gui/lib/encoding.tcl index 32668fc9c6d..d2e0fa60c3b 100644 --- a/git-gui/lib/encoding.tcl +++ b/git-gui/lib/encoding.tcl @@ -3,7 +3,7 @@ # (Copied from gitk, commit fd8ccbec4f0161) # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/git-gui/po/README b/git-gui/po/README index 2514bc22abf..116233100d7 100644 --- a/git-gui/po/README +++ b/git-gui/po/README @@ -39,7 +39,7 @@ in your language? If you do not know what your language should be named, you need to find it. This currently follows ISO 639-1 two letter codes: - http://www.loc.gov/standards/iso639-2/php/code_list.php + https://www.loc.gov/standards/iso639-2/php/code_list.php For example, if you are preparing a translation for Afrikaans, the language code is "af". If there already is a translation for your diff --git a/git-instaweb.sh b/git-instaweb.sh index c68f49454cd..994431c8872 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -432,7 +432,7 @@ mongoose_conf() { # Mongoose web server configuration file. # Lines starting with '#' and empty lines are ignored. # For detailed description of every option, visit -# http://code.google.com/p/mongoose/wiki/MongooseManual +# https://code.google.com/p/mongoose/wiki/MongooseManual root $root ports $port @@ -458,7 +458,7 @@ plackup_conf () { #!$PERL # gitweb - simple web interface to track changes in git repositories -# PSGI wrapper and server starter (see http://plackperl.org) +# PSGI wrapper and server starter (see https://plackperl.org) use strict; diff --git a/gitk-git/gitk b/gitk-git/gitk index dd80ab8f3ba..7a087f123d7 100755 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -11956,7 +11956,7 @@ proc formatdate {d} { } # This list of encoding names and aliases is distilled from -# http://www.iana.org/assignments/character-sets. +# https://www.iana.org/assignments/character-sets. # Not all of them are supported by Tcl. set encoding_aliases { { ANSI_X3.4-1968 iso-ir-6 ANSI_X3.4-1986 ISO_646.irv:1991 ASCII diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index e66eb3d9bad..d23468690ed 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -122,9 +122,9 @@ our $favicon = "++GITWEB_FAVICON++"; our $javascript = "++GITWEB_JS++"; # URI and label (title) of GIT logo link -#our $logo_url = "http://www.kernel.org/pub/software/scm/git/docs/"; +#our $logo_url = "https://www.kernel.org/pub/software/scm/git/docs/"; #our $logo_label = "git documentation"; -our $logo_url = "http://git-scm.com/"; +our $logo_url = "https://git-scm.com/"; our $logo_label = "git homepage"; # source of projects list diff --git a/gitweb/static/js/lib/common-lib.js b/gitweb/static/js/lib/common-lib.js index 0fdbc25728d..99e3eb8c3d9 100644 --- a/gitweb/static/js/lib/common-lib.js +++ b/gitweb/static/js/lib/common-lib.js @@ -123,8 +123,8 @@ function addCssRule(selector, style) { * NOTE that there are limits and differences compared to native * getElementsByClassName as defined by e.g.: * https://developer.mozilla.org/en/DOM/document.getElementsByClassName - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname - * http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-getelementsbyclassname + * https://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-getelementsbyclassname * * Namely, this implementation supports only single class name as * argument and not set of space-separated tokens representing classes, @@ -133,9 +133,9 @@ function addCssRule(selector, style) { * (via getElementsByTagName). * * Based on - * http://code.google.com/p/getelementsbyclassname/ + * https://code.google.com/p/getelementsbyclassname/ * http://www.dustindiaz.com/getelementsbyclass/ - * http://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript + * https://stackoverflow.com/questions/1818865/do-we-have-getelementsbyclassname-in-javascript * * See also https://johnresig.com/blog/getelementsbyclassname-speed-comparison/ * diff --git a/graph.h b/graph.h index e88632a0140..3fd1dcb2e94 100644 --- a/graph.h +++ b/graph.h @@ -130,7 +130,7 @@ void graph_setup_line_prefix(struct diff_options *diffopt); * This functions must be called BEFORE graph_init() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to use HTML for colors. + * by CGit (https://git.zx2c4.com/cgit/) to use HTML for colors. */ void graph_set_column_colors(const char **colors, unsigned short colors_max); @@ -196,7 +196,7 @@ int graph_is_commit_finished(struct git_graph const *graph); * graph_update() is called. * * NOTE: This function isn't used in Git outside graph.c but it is used - * by CGit (http://git.zx2c4.com/cgit/) to wrap HTML around graph lines. + * by CGit (https://git.zx2c4.com/cgit/) to wrap HTML around graph lines. */ int graph_next_line(struct git_graph *graph, struct strbuf *sb); diff --git a/imap-send.c b/imap-send.c index 3d6fdf64868..448ca64c052 100644 --- a/imap-send.c +++ b/imap-send.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/json-writer.h b/json-writer.h index 75f4f99ab00..04413bd1afd 100644 --- a/json-writer.h +++ b/json-writer.h @@ -3,7 +3,7 @@ /* * JSON data structures are defined at: - * [1] http://www.ietf.org/rfc/rfc7159.txt + * [1] https://www.ietf.org/rfc/rfc7159.txt * [2] https://www.json.org/ * * The JSON-writer API allows one to build JSON data structures using a diff --git a/kwset.c b/kwset.c index bbfcf815a56..695e47b7ccf 100644 --- a/kwset.c +++ b/kwset.c @@ -18,7 +18,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/kwset.h b/kwset.h index d42a793a301..c722664e5a7 100644 --- a/kwset.h +++ b/kwset.h @@ -20,7 +20,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* Written August 1989 by Mike Haertel. The author may be reached (Email) at the address mike@ai.mit.edu, diff --git a/list.h b/list.h index 362a4cd7f5f..98428010f4d 100644 --- a/list.h +++ b/list.h @@ -19,7 +19,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see - * <http://www.gnu.org/licenses/>. + * <https://www.gnu.org/licenses/>. */ #ifndef LIST_H diff --git a/perl/FromCPAN/Error.pm b/perl/FromCPAN/Error.pm index d82b71325c6..5b97e0315d6 100644 --- a/perl/FromCPAN/Error.pm +++ b/perl/FromCPAN/Error.pm @@ -1025,7 +1025,7 @@ C<:warndie> handlers added by Paul Evans <leonerd@leonerd.org.uk> =head1 MAINTAINER -Shlomi Fish, L<http://www.shlomifish.org/> . +Shlomi Fish, L<https://www.shlomifish.org/> . =head1 PAST MAINTAINERS diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index 6ce2e283c8d..7721708ce5d 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -1752,7 +1752,7 @@ sub tie_for_persistent_memoization { END { # Force cache writeout explicitly instead of waiting for # global destruction to avoid segfault in Storable: - # http://rt.cpan.org/Public/Bug/Display.html?id=36087 + # https://rt.cpan.org/Public/Bug/Display.html?id=36087 unmemoize_svn_mergeinfo_functions(); } diff --git a/protocol.h b/protocol.h index de66bf80f84..1e574bbd80b 100644 --- a/protocol.h +++ b/protocol.h @@ -18,7 +18,7 @@ * with Linus Torvalds <torvalds@osdl.org> as the point of * contact. September 2005. * - * See http://www.iana.org/assignments/port-numbers + * See https://www.iana.org/assignments/port-numbers */ #define DEFAULT_GIT_PORT 9418 diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c index 133496bd4d9..f69fd166105 100644 --- a/sh-i18n--envsubst.c +++ b/sh-i18n--envsubst.c @@ -31,7 +31,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ /* closeout.c - close standard output and standard error Copyright (C) 1998-2007 Free Software Foundation, Inc. @@ -47,7 +47,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, see <http://www.gnu.org/licenses/>. */ + along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include <errno.h> #include <stdio.h> diff --git a/t/README b/t/README index a0ebe294848..36463d07425 100644 --- a/t/README +++ b/t/README @@ -32,7 +32,7 @@ the tests. ok 2 - plain with GIT_WORK_TREE ok 3 - plain bare -Since the tests all output TAP (see http://testanything.org) they can +Since the tests all output TAP (see https://testanything.org) they can be run with any TAP harness. Here's an example of parallel testing powered by a recent version of prove(1): @@ -1278,7 +1278,7 @@ Devel::Cover module. To install it do: sudo aptitude install libdevel-cover-perl # From the CPAN with cpanminus - curl -L http://cpanmin.us | perl - --sudo --self-upgrade + curl -L https://cpanmin.us/ | perl - --sudo --self-upgrade cpanm --sudo Devel::Cover Then, at the top-level: diff --git a/t/helper/test-regex.c b/t/helper/test-regex.c index bd871a735b4..80042eafc20 100644 --- a/t/helper/test-regex.c +++ b/t/helper/test-regex.c @@ -30,7 +30,7 @@ static int test_regex_bug(void) if (regexec(&r, str, 1, m, 0)) die("no match of pattern '%s' to string '%s'", pat, str); - /* http://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ + /* https://sourceware.org/bugzilla/show_bug.cgi?id=3957 */ if (m[0].rm_so == 3) /* matches '\n' when it should not */ die("regex bug confirmed: re-build git with NO_REGEX=1"); diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh index e7786775a90..def22e70aed 100644 --- a/t/perf/perf-lib.sh +++ b/t/perf/perf-lib.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # These variables must be set before the inclusion of test-lib.sh below, # because it will change our working directory. diff --git a/t/t9114-git-svn-dcommit-merge.sh b/t/t9114-git-svn-dcommit-merge.sh index 32317d6bca5..e06538b1c85 100755 --- a/t/t9114-git-svn-dcommit-merge.sh +++ b/t/t9114-git-svn-dcommit-merge.sh @@ -27,7 +27,7 @@ cat << EOF # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # EOF } diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh index 73cca0d143d..c598011635a 100755 --- a/t/t9801-git-p4-branch.sh +++ b/t/t9801-git-p4-branch.sh @@ -466,7 +466,7 @@ test_expect_success 'git p4 clone complex branches with excluded files' ' ) ' -# From a report in http://stackoverflow.com/questions/11893688 +# From a report in https://stackoverflow.com/questions/11893688 # where --use-client-spec caused branch prefixes not to be removed; # every file in git appeared into a subdirectory of the branch name. test_expect_success 'use-client-spec detect-branches setup' ' diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index 9c3cf12b268..03292602fb0 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # The semantics of the editor variables are that of invoking # sh -c "$EDITOR \"$@\"" files ... diff --git a/t/test-lib-github-workflow-markup.sh b/t/test-lib-github-workflow-markup.sh index 9c5339c577a..970c6538cba 100644 --- a/t/test-lib-github-workflow-markup.sh +++ b/t/test-lib-github-workflow-markup.sh @@ -14,7 +14,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when run in GitHub # workflows; these functions will then override (empty) functions diff --git a/t/test-lib-junit.sh b/t/test-lib-junit.sh index 79c31c788b9..76cbbd3299d 100644 --- a/t/test-lib-junit.sh +++ b/t/test-lib-junit.sh @@ -15,7 +15,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # # The idea is for `test-lib.sh` to source this file when the user asks # for JUnit XML; these functions will then override (empty) functions diff --git a/t/test-lib.sh b/t/test-lib.sh index 1656c9eed00..876b99562a3 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -13,7 +13,7 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/ . +# along with this program. If not, see https://www.gnu.org/licenses/ . # Test the binaries we have just built. The tests are kept in # t/ subdirectory and are run in 'trash directory' subdirectory. diff --git a/trace.c b/trace.c index 971a68abe84..8669ddfca25 100644 --- a/trace.c +++ b/trace.c @@ -18,7 +18,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. + * along with this program; if not, see <https://www.gnu.org/licenses/>. */ #include "git-compat-util.h" diff --git a/utf8.c b/utf8.c index 6a0dd25b0fe..6bfaefa28eb 100644 --- a/utf8.c +++ b/utf8.c @@ -2,7 +2,7 @@ #include "strbuf.h" #include "utf8.h" -/* This code is originally from http://www.cl.cam.ac.uk/~mgk25/ucs/ */ +/* This code is originally from https://www.cl.cam.ac.uk/~mgk25/ucs/ */ static const char utf16_be_bom[] = {'\xFE', '\xFF'}; static const char utf16_le_bom[] = {'\xFF', '\xFE'}; diff --git a/utf8.h b/utf8.h index b68efef6f43..35df76086a6 100644 --- a/utf8.h +++ b/utf8.h @@ -83,7 +83,7 @@ void strbuf_utf8_align(struct strbuf *buf, align_type position, unsigned int wid * BOM must not be used [1]. The same applies for the UTF-32 equivalents. * The function returns true if this rule is violated. * - * [1] http://unicode.org/faq/utf_bom.html#bom10 + * [1] https://unicode.org/faq/utf_bom.html#bom10 */ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); @@ -99,8 +99,8 @@ int has_prohibited_utf_bom(const char *enc, const char *data, size_t len); * Therefore, strictly requiring a BOM seems to be the safest option for * content in Git. * - * [1] http://unicode.org/faq/utf_bom.html#gen6 - * [2] http://www.unicode.org/versions/Unicode10.0.0/ch03.pdf + * [1] https://unicode.org/faq/utf_bom.html#gen6 + * [2] https://www.unicode.org/versions/Unicode10.0.0/ch03.pdf * Section 3.10, D98, page 132 * [3] https://encoding.spec.whatwg.org/#utf-16le */ -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH v3 3/4] doc: update links for andre-simon.de 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 1/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 2/4] doc: switch links to https Josh Soref via GitGitGadget @ 2023-11-24 3:35 ` Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 4/4] doc: refer to internet archive Josh Soref via GitGitGadget 2023-11-24 15:36 ` [PATCH v3 0/4] Switch links to https Elijah Newren 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-11-24 3:35 UTC (permalink / raw) To: git; +Cc: Eric Sunshine, Josh Soref, Elijah Newren, Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> Beyond the fact that it's somewhat traditional to respect sites' self-identification, it's helpful for links to point to the things that people expect them to reference. Here that means linking to specific pages instead of a domain. Signed-off-by: Josh Soref <jsoref@gmail.com> --- Documentation/gitweb.conf.txt | 2 +- gitweb/INSTALL | 2 +- gitweb/gitweb.perl | 4 ++-- gitweb/static/gitweb.css | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt index 20df3f0e253..59fc1d27419 100644 --- a/Documentation/gitweb.conf.txt +++ b/Documentation/gitweb.conf.txt @@ -242,7 +242,7 @@ $mimetypes_file:: $highlight_bin:: Path to the highlight executable to use (it must be the one from - http://www.andre-simon.de[] due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php[] due to assumptions about parameters and output). By default set to 'highlight'; set it to full path to highlight executable if it is not installed on your web server's PATH. Note that 'highlight' feature must be set for gitweb to actually diff --git a/gitweb/INSTALL b/gitweb/INSTALL index a58e6b3c44b..0f8bc39ad84 100644 --- a/gitweb/INSTALL +++ b/gitweb/INSTALL @@ -203,7 +203,7 @@ You can specify the following configuration variables when building GIT: created. [Default: /etc/gitweb.conf] * HIGHLIGHT_BIN Path to the highlight executable to use (must be the one from - http://www.andre-simon.de due to assumptions about parameters and output). + http://andre-simon.de/zip/download.php due to assumptions about parameters and output). Useful if highlight is not installed on your webserver's PATH. [Default: highlight] diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index d23468690ed..b6659410ef1 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -197,7 +197,7 @@ our @diff_opts = ('-M'); # taken from git_commit our $prevent_xss = 0; # Path to the highlight executable to use (must be the one from -# http://www.andre-simon.de due to assumptions about parameters and output). +# http://andre-simon.de/zip/download.php due to assumptions about parameters and output). # Useful if highlight is not installed on your webserver's PATH. # [Default: highlight] our $highlight_bin = "++HIGHLIGHT_BIN++"; @@ -269,7 +269,7 @@ our %avatar_size = ( # Leave it undefined (or set to 'undef') to turn off load checking. our $maxload = 300; -# configuration for 'highlight' (http://www.andre-simon.de/) +# configuration for 'highlight' (http://andre-simon.de/doku/highlight/en/highlight.php) # match by basename our %highlight_basename = ( #'Program' => 'py', diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 32126010326..48d2e510154 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -667,7 +667,7 @@ div.remote { } -/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */ +/* Style definition generated by highlight 2.4.5, http://andre-simon.de/doku/highlight/en/highlight.php */ /* Highlighting theme definition: */ -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH v3 4/4] doc: refer to internet archive 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget ` (2 preceding siblings ...) 2023-11-24 3:35 ` [PATCH v3 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget @ 2023-11-24 3:35 ` Josh Soref via GitGitGadget 2023-11-24 15:36 ` [PATCH v3 0/4] Switch links to https Elijah Newren 4 siblings, 0 replies; 35+ messages in thread From: Josh Soref via GitGitGadget @ 2023-11-24 3:35 UTC (permalink / raw) To: git; +Cc: Eric Sunshine, Josh Soref, Elijah Newren, Josh Soref, Josh Soref From: Josh Soref <jsoref@gmail.com> These pages are no longer reachable from their original locations, which makes things difficult for readers. Instead, switch to linking to the Internet Archive for the content. Signed-off-by: Josh Soref <jsoref@gmail.com> --- gitweb/gitweb.perl | 2 +- sha1dc/sha1.c | 2 +- t/lib-gpg.sh | 2 +- t/t9816-git-p4-locked.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b6659410ef1..6f139b8fc32 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -8193,7 +8193,7 @@ sub git_feed { my $have_blame = gitweb_check_feature('blame'); # Atom: http://www.atomenabled.org/developers/syndication/ - # RSS: http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ + # RSS: https://web.archive.org/web/20030729001534/http://www.notestips.com/80256B3A007F2692/1/NAMO5P9UPQ if ($format ne 'rss' && $format ne 'atom') { die_error(400, "Unknown web feed format"); } diff --git a/sha1dc/sha1.c b/sha1dc/sha1.c index dede2cbddf9..f993ef9c690 100644 --- a/sha1dc/sha1.c +++ b/sha1dc/sha1.c @@ -88,7 +88,7 @@ /* * Should define Big Endian for a whitelist of known processors. See * https://sourceforge.net/p/predef/wiki/Endianness/ and - * http://www.oracle.com/technetwork/server-storage/solaris/portingtosolaris-138514.html + * https://web.archive.org/web/20140421151132/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html */ #define SHA1DC_BIGENDIAN diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 83b83c9abb5..add11e88fc0 100644 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -13,7 +13,7 @@ test_lazy_prereq GPG ' gpg_version=$(gpg --version 2>&1) test $? != 127 || exit 1 - # As said here: http://www.gnupg.org/documentation/faqs.html#q6.19 + # 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 # the gpg version 1.0.6 did not parse trust packets correctly, so for # that version, creation of signed tags using the generated key fails. case "$gpg_version" in diff --git a/t/t9816-git-p4-locked.sh b/t/t9816-git-p4-locked.sh index 932841003cf..5e904ac80d8 100755 --- a/t/t9816-git-p4-locked.sh +++ b/t/t9816-git-p4-locked.sh @@ -9,7 +9,7 @@ test_expect_success 'start p4d' ' ' # See -# http://www.perforce.com/perforce/doc.current/manuals/p4sag/03_superuser.html#1088563 +# https://web.archive.org/web/20150602090517/http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.superuser.html#superuser.basic.typemap_locking # for suggestions on how to configure "sitewide pessimistic locking" # where only one person can have a file open for edit at a time. test_expect_success 'init depot' ' -- gitgitgadget ^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH v3 0/4] Switch links to https 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget ` (3 preceding siblings ...) 2023-11-24 3:35 ` [PATCH v3 4/4] doc: refer to internet archive Josh Soref via GitGitGadget @ 2023-11-24 15:36 ` Elijah Newren 2023-11-24 16:03 ` Josh Soref 4 siblings, 1 reply; 35+ messages in thread From: Elijah Newren @ 2023-11-24 15:36 UTC (permalink / raw) To: Josh Soref via GitGitGadget; +Cc: git, Eric Sunshine, Josh Soref On Thu, Nov 23, 2023 at 7:35 PM Josh Soref via GitGitGadget <gitgitgadget@gmail.com> wrote: > > There are a couple of categories of http links... > > There are four categories worth changing: > > * pages that have jittered a bit but are now available as https: > * pages which exist at both http: and https: and can be safely switched > * pages that have jittered a bit and are not available over https: > * pages that are gone and for which the best source is > https://web.archive.org > > And some categories that aren't being changed: > > * links that are required to be http: because they're copied from something > that mandates it (the apache license, xml namespaces, xsl docbook > things?) > * urls that were imaginary (e.g. http://example.com/repo.git) > * links in borrowed code where the http: form still works > > In order: > > * doc: update links to current pages -- I found the current pages for > these, it should be easy enough to verify these / reject them > * doc: switch links to https -- the simplest > * doc: update links for andre-simon.de -- I've split this out, I don't like > the idea of having to download binaries over http. If this were my > project, I'd be tempted to remove the feature or self-host w/ https... > * doc: refer to internet archive -- the original urls are dead, I've found > internet archive date links for them. (There are some in git already, so > this seemed like a very reasonable choice.) > > Changes from v1: > > * Commit messages have been adjusted since v1 > * files were dropped based on feedback from Junio > > Changes from v2: > > * The first two commits have been swapped (favoring more complicated urls > over simply switching to https) > * The archive.org link for atomenabled.org has been dropped, we'll risk > users getting hacked content from an arbitrary MITM instead of taking > archived authenticated content based on the last time their web site was > properly maintained. As stated elsewhere, I'd be fine with using the archived link if the justification presented in the series for using archived links was consistent and mentioned both reasons for changes. But, I think this series is fine to merge down as-is if you don't want to go through the trouble. Especially given how long you've waited. Anyway, I checked through every link in this series; it all looks good to me. ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v3 0/4] Switch links to https 2023-11-24 15:36 ` [PATCH v3 0/4] Switch links to https Elijah Newren @ 2023-11-24 16:03 ` Josh Soref 2023-11-27 0:49 ` Junio C Hamano 0 siblings, 1 reply; 35+ messages in thread From: Josh Soref @ 2023-11-24 16:03 UTC (permalink / raw) To: Elijah Newren; +Cc: Josh Soref via GitGitGadget, git, Eric Sunshine Elijah Newren wrote: > As stated elsewhere, I'd be fine with using the archived link if the > justification presented in the series for using archived links was > consistent and mentioned both reasons for changes. But, I think this > series is fine to merge down as-is if you don't want to go through the > trouble. Especially given how long you've waited. I'm clearly still contributing, so I can come back later and cross that bridge... > Anyway, I checked through every link in this series; it all looks good to me. Let's take this as-is. Thanks for taking the time to re-check every link, I know exactly how tedious that is :). ^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH v3 0/4] Switch links to https 2023-11-24 16:03 ` Josh Soref @ 2023-11-27 0:49 ` Junio C Hamano 0 siblings, 0 replies; 35+ messages in thread From: Junio C Hamano @ 2023-11-27 0:49 UTC (permalink / raw) To: Josh Soref; +Cc: Elijah Newren, Josh Soref via GitGitGadget, git, Eric Sunshine Josh Soref <jsoref@gmail.com> writes: > Elijah Newren wrote: >> As stated elsewhere, I'd be fine with using the archived link if the >> justification presented in the series for using archived links was >> consistent and mentioned both reasons for changes. But, I think this >> series is fine to merge down as-is if you don't want to go through the >> trouble. Especially given how long you've waited. > > I'm clearly still contributing, so I can come back later and cross > that bridge... > >> Anyway, I checked through every link in this series; it all looks good to me. > > Let's take this as-is. Thanks for taking the time to re-check every > link, I know exactly how tedious that is :). Thanks, both. Will queue. ^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2023-11-27 0:49 UTC | newest] Thread overview: 35+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-22 14:13 [PATCH 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 1/4] doc: switch " Josh Soref via GitGitGadget 2023-09-22 21:22 ` Eric Sunshine 2023-09-22 22:05 ` Junio C Hamano 2023-09-22 14:13 ` [PATCH 2/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-09-22 21:25 ` Eric Sunshine 2023-09-22 21:30 ` Josh Soref 2023-09-22 21:34 ` Eric Sunshine 2023-09-22 22:21 ` Junio C Hamano 2023-09-22 22:23 ` Junio C Hamano 2023-09-22 14:13 ` [PATCH 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget 2023-09-22 14:13 ` [PATCH 4/4] doc: refer to internet archive Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 0/4] Switch links to https Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 1/4] doc: switch " Josh Soref via GitGitGadget 2023-11-23 21:19 ` Elijah Newren 2023-11-24 3:12 ` Josh Soref 2023-11-24 15:33 ` Elijah Newren 2023-09-24 10:57 ` [PATCH v2 2/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-11-23 21:27 ` Elijah Newren 2023-11-24 3:20 ` Josh Soref 2023-09-24 10:57 ` [PATCH v2 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget 2023-09-24 10:57 ` [PATCH v2 4/4] doc: refer to internet archive Josh Soref via GitGitGadget 2023-11-23 21:33 ` Elijah Newren 2023-11-24 3:24 ` Josh Soref 2023-11-24 15:32 ` Elijah Newren 2023-09-25 18:33 ` [PATCH v2 0/4] Switch links to https Junio C Hamano 2023-09-25 18:55 ` Eric Sunshine 2023-11-24 3:35 ` [PATCH v3 " Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 1/4] doc: update links to current pages Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 2/4] doc: switch links to https Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 3/4] doc: update links for andre-simon.de Josh Soref via GitGitGadget 2023-11-24 3:35 ` [PATCH v3 4/4] doc: refer to internet archive Josh Soref via GitGitGadget 2023-11-24 15:36 ` [PATCH v3 0/4] Switch links to https Elijah Newren 2023-11-24 16:03 ` Josh Soref 2023-11-27 0:49 ` Junio C Hamano
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).