git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: use https link to Wikipeai to avoid http redirect
@ 2017-05-13  9:54 Sven Strickroth
  2017-05-13 10:58 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Strickroth @ 2017-05-13  9:54 UTC (permalink / raw)
  To: Git List; +Cc: Jeff King, Junio C Hamano

Signed-off-by: Sven Strickroth <email@cs-ware.de>
---
 Documentation/gitweb.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
index 96156e5e1..88450589a 100644
--- a/Documentation/gitweb.txt
+++ b/Documentation/gitweb.txt
@@ -84,7 +84,7 @@ separator (rules for Perl's "`split(" ", $line)`").
 
 * Fields use modified URI encoding, defined in RFC 3986, section 2.1
 (Percent-Encoding), or rather "Query string encoding" (see
-http://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
+https://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
 being that SP (" ") can be encoded as "{plus}" (and therefore "{plus}" has to be
 also percent-encoded).
 +
-- 
2.12.1.windows.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] Use https links to Wikipedia to avoid http redirects
  2017-05-13 10:58 ` Ævar Arnfjörð Bjarmason
@ 2017-05-13  9:54   ` Sven Strickroth
  2017-05-13 19:56     ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Strickroth @ 2017-05-13  9:54 UTC (permalink / raw)
  To: Git List
  Cc: Junio C Hamano, Jeff King, Ævar Arnfjörð Bjarmason

Signed-off-by: Sven Strickroth <email@cs-ware.de>
---
 Documentation/gitweb.txt | 2 +-
 bisect.c                 | 2 +-
 gitweb/gitweb.perl       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
index 96156e5e1..88450589a 100644
--- a/Documentation/gitweb.txt
+++ b/Documentation/gitweb.txt
@@ -84,7 +84,7 @@ separator (rules for Perl's "`split(" ", $line)`").
 
 * Fields use modified URI encoding, defined in RFC 3986, section 2.1
 (Percent-Encoding), or rather "Query string encoding" (see
-http://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
+https://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
 being that SP (" ") can be encoded as "{plus}" (and therefore "{plus}" has to be
 also percent-encoded).
 +
diff --git a/bisect.c b/bisect.c
index 08c9fb726..fa477a3e2 100644
--- a/bisect.c
+++ b/bisect.c
@@ -546,7 +546,7 @@ static unsigned get_prn(unsigned count) {
 
 /*
  * Custom integer square root from
- * http://en.wikipedia.org/wiki/Integer_square_root
+ * https://en.wikipedia.org/wiki/Integer_square_root
  */
 static int sqrti(int val)
 {
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7cf68f07b..d8209c7a0 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -8085,7 +8085,7 @@ sub git_search_help {
 <p><strong>Pattern</strong> is by default a normal string that is matched precisely (but without
 regard to case, except in the case of pickaxe). However, when you check the <em>re</em> checkbox,
 the pattern entered is recognized as the POSIX extended
-<a href="http://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
+<a href="https://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
 insensitive).</p>
 <dl>
 <dt><b>commit</b></dt>
-- 
2.12.1.windows.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: use https link to Wikipeai to avoid http redirect
  2017-05-13  9:54 [PATCH] doc: use https link to Wikipeai to avoid http redirect Sven Strickroth
@ 2017-05-13 10:58 ` Ævar Arnfjörð Bjarmason
  2017-05-13  9:54   ` [PATCH] Use https links to Wikipedia to avoid http redirects Sven Strickroth
  0 siblings, 1 reply; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2017-05-13 10:58 UTC (permalink / raw)
  To: Sven Strickroth; +Cc: Git List, Jeff King, Junio C Hamano

On Sat, May 13, 2017 at 11:54 AM, Sven Strickroth <email@cs-ware.de> wrote:

Spelling error: Wikipeai

Looks good, but let's change these too while we're at it:

$ git grep http://en.wikip
Documentation/gitweb.txt:87:http://en.wikipedia.org/wiki/Query_string#URL_encoding[]),
the difference
bisect.c:549: * http://en.wikipedia.org/wiki/Integer_square_root
gitweb/gitweb.perl:8088:<a
href="http://en.wikipedia.org/wiki/Regular_expression">regular
expression</a> (also case



> Signed-off-by: Sven Strickroth <email@cs-ware.de>
> ---
>  Documentation/gitweb.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
> index 96156e5e1..88450589a 100644
> --- a/Documentation/gitweb.txt
> +++ b/Documentation/gitweb.txt
> @@ -84,7 +84,7 @@ separator (rules for Perl's "`split(" ", $line)`").
>
>  * Fields use modified URI encoding, defined in RFC 3986, section 2.1
>  (Percent-Encoding), or rather "Query string encoding" (see
> -http://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
> +https://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
>  being that SP (" ") can be encoded as "{plus}" (and therefore "{plus}" has to be
>  also percent-encoded).
>  +
> --
> 2.12.1.windows.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Use https links to Wikipedia to avoid http redirects
  2017-05-13  9:54   ` [PATCH] Use https links to Wikipedia to avoid http redirects Sven Strickroth
@ 2017-05-13 19:56     ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 4+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2017-05-13 19:56 UTC (permalink / raw)
  To: Sven Strickroth; +Cc: Git List, Junio C Hamano, Jeff King

On Sat, May 13, 2017 at 11:54 AM, Sven Strickroth <email@cs-ware.de> wrote:
> Signed-off-by: Sven Strickroth <email@cs-ware.de>

Thanks! FWIW:

Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>

> ---
>  Documentation/gitweb.txt | 2 +-
>  bisect.c                 | 2 +-
>  gitweb/gitweb.perl       | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/gitweb.txt b/Documentation/gitweb.txt
> index 96156e5e1..88450589a 100644
> --- a/Documentation/gitweb.txt
> +++ b/Documentation/gitweb.txt
> @@ -84,7 +84,7 @@ separator (rules for Perl's "`split(" ", $line)`").
>
>  * Fields use modified URI encoding, defined in RFC 3986, section 2.1
>  (Percent-Encoding), or rather "Query string encoding" (see
> -http://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
> +https://en.wikipedia.org/wiki/Query_string#URL_encoding[]), the difference
>  being that SP (" ") can be encoded as "{plus}" (and therefore "{plus}" has to be
>  also percent-encoded).
>  +
> diff --git a/bisect.c b/bisect.c
> index 08c9fb726..fa477a3e2 100644
> --- a/bisect.c
> +++ b/bisect.c
> @@ -546,7 +546,7 @@ static unsigned get_prn(unsigned count) {
>
>  /*
>   * Custom integer square root from
> - * http://en.wikipedia.org/wiki/Integer_square_root
> + * https://en.wikipedia.org/wiki/Integer_square_root
>   */
>  static int sqrti(int val)
>  {
> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
> index 7cf68f07b..d8209c7a0 100755
> --- a/gitweb/gitweb.perl
> +++ b/gitweb/gitweb.perl
> @@ -8085,7 +8085,7 @@ sub git_search_help {
>  <p><strong>Pattern</strong> is by default a normal string that is matched precisely (but without
>  regard to case, except in the case of pickaxe). However, when you check the <em>re</em> checkbox,
>  the pattern entered is recognized as the POSIX extended
> -<a href="http://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
> +<a href="https://en.wikipedia.org/wiki/Regular_expression">regular expression</a> (also case
>  insensitive).</p>
>  <dl>
>  <dt><b>commit</b></dt>
> --
> 2.12.1.windows.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-13 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13  9:54 [PATCH] doc: use https link to Wikipeai to avoid http redirect Sven Strickroth
2017-05-13 10:58 ` Ævar Arnfjörð Bjarmason
2017-05-13  9:54   ` [PATCH] Use https links to Wikipedia to avoid http redirects Sven Strickroth
2017-05-13 19:56     ` Ævar Arnfjörð Bjarmason

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).