[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] com doc/base: replaced diff link from blobdiff to =?UTF-8?Q?blobdiff=5Fpl?= =?UTF-8?Q?ain=
From:       Yoshinari Takaoka <mumumu () php ! net>
Date:       2021-03-23 14:35:29
Message-ID: php-mail-e88705a07d66782c48b22496fd91f0cf752039265 () git ! php ! net
[Download RAW message or body]

Commit:    ea0216d7a695a653629cff2fac3da29e2ea31ee4
Author:    Yoshinari Takaoka <mumumu@mumumu.org>         Tue, 23 Mar 2021 23:35:29 \
                +0900
Parents:   e4d657eb078812becee04135e3c547bf8f9c4783
Branches:  master

Link:       http://git.php.net/?p=doc/base.git;a=commitdiff;h=ea0216d7a695a653629cff2fac3da29e2ea31ee4


Log:
replaced diff link from blobdiff to blobdiff_plain.

gitweb's blobdiff page itself is very difficult to copy overall patch text. We can \
use blobdiff_plain to save raw diff file from blowser by Ctrl+S, and apply it to \
every locales tree.

Original revcheck.php behaved the same way, I think.

https://github.com/php/doc-base/blob/360600baac42859e1560e16b1887c754d1c1a4d0/scripts/revcheck.php


Changed paths:
  M  scripts/revcheck.php


Diff:
diff --git a/scripts/revcheck.php b/scripts/revcheck.php
index 321cfc362..e3be200e7 100644
--- a/scripts/revcheck.php
+++ b/scripts/revcheck.php
@@ -456,7 +456,7 @@ HTML;
             case FileStatusEnum::TranslatedCritial: $bg = 'bgred'   ; break;
             default:                                $bg = 'bggray'  ; break;
         }
-        $df = "https://git.php.net/?p=doc/en.git;a=blobdiff;f=$key;hb={$en->hash};hpb={$tr->hash};";
 +        $df = "https://git.php.net/?p=doc/en.git;a=blobdiff_plain;f=$key;hb={$en->hash};hpb={$tr->hash};";
  $nm = "<a href='$df'>{$en->name}</a>";
         if ( $en->syncStatus == FileStatusEnum::RevTagProblem )
             $nm = $en->name;


--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic