com php-src: Remove SVN revision from phar phpinfo output: .gitattributes ext/phar/phar.c ext/phar/tests/phpinfo_001.phpt ext
/phar/tests/phpinfo_002.phpt ext/phar/tests/phpinfo _003.phpt ext/phar/tests/phpinfo_004.phpt
| From: | Christoph Michael Becker | Date: | Sat, 16 Jun 2018 10:47:33 +0000 |
| Subject: | com php-src: Remove SVN revision from phar phpinfo output: .gitattributes ext/phar/phar.c ext/phar/tests/phpinfo_001.phpt ext /phar/tests/phpinfo_002.phpt ext/phar/tests/phpinfo _003.phpt ext/phar/tests/phpinfo_004.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102166@lists.php.net to get a copy of this message | ||
Commit: 7bf091c5c20acfaafa5eb2fde2c1802c96c57431
Author: Peter Kokot <peterkokot@gmail.com> Tue, 12 Jun 2018 16:09:30 +0200
Committer: Christoph M. Becker <cmbecker69@gmx.de> Sat, 16 Jun 2018 12:47:33 +0200
Parents: d04917c7b361fd07e098fe29ae931fb6fac1d9e0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7bf091c5c20acfaafa5eb2fde2c1802c96c57431
Log:
Remove SVN revision from phar phpinfo output
The SVN revision was utilized with Subversion. The Git ident
attribute applies only for particular file and since other core
extensions don't output this information anymore this patch
removes it from the phpinfo output to sync and make the phpinfo
core extensions more consistent.
Changed paths:
M .gitattributes
M ext/phar/phar.c
M ext/phar/tests/phpinfo_001.phpt
M ext/phar/tests/phpinfo_002.phpt
M ext/phar/tests/phpinfo_003.phpt
M ext/phar/tests/phpinfo_004.phpt
Diff:
diff --git a/.gitattributes b/.gitattributes
index 329df67..98dfdd4 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,7 +2,6 @@ ext/mysqlnd/mysqlnd.h ident
ext/iconv/php_iconv.h ident
ext/ext_skel.php ident
ext/phar/phar/pharcommand.inc ident
-ext/phar/phar.c ident
ext/dba/libinifile/inifile.c ident
ext/dba/libflatfile/flatfile.c ident
ext/dba/libcdb/cdb_make.c ident
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 21f08c7..de3475b 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -17,8 +17,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#define PHAR_MAIN 1
#include "phar_internal.h"
#include "SAPI..h"
@@ -3557,7 +3555,6 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */
php_info_print_table_header(2, "Phar: PHP Archive support", "enabled");
php_info_print_table_row(2, "Phar EXT version", PHP_PHAR_VERSION);
php_info_print_table_row(2, "Phar API version", PHP_PHAR_API_VERSION);
- php_info_print_table_row(2, "SVN revision", "$Id$");
php_info_print_table_row(2, "Phar-based phar archives", "enabled");
php_info_print_table_row(2, "Tar-based phar archives", "enabled");
php_info_print_table_row(2, "ZIP-based phar archives", "enabled");
diff --git a/ext/phar/tests/phpinfo_001.phpt b/ext/phar/tests/phpinfo_001.phpt
index d99ccd1..32cb3c8 100644
--- a/ext/phar/tests/phpinfo_001.phpt
+++ b/ext/phar/tests/phpinfo_001.phpt
@@ -26,7 +26,6 @@ phpinfo(INFO_MODULES);
Phar: PHP Archive support => enabled
Phar EXT version => %s
Phar API version => 1.1.1
-SVN revision => %sId: %s $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
@@ -48,7 +47,6 @@ Phar
Phar: PHP Archive support => enabled
Phar EXT version => %s
Phar API version => 1.1.1
-SVN revision => %sId: %s $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
diff --git a/ext/phar/tests/phpinfo_002.phpt b/ext/phar/tests/phpinfo_002.phpt
index ef505fe..f0d72eb 100644
--- a/ext/phar/tests/phpinfo_002.phpt
+++ b/ext/phar/tests/phpinfo_002.phpt
@@ -24,7 +24,6 @@ Phar
Phar: PHP Archive support => enabled
Phar EXT version => %s
Phar API version => 1.1.1
-SVN revision => %sId: %s $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
diff --git a/ext/phar/tests/phpinfo_003.phpt b/ext/phar/tests/phpinfo_003.phpt
index 045f1a0..dee0bf4 100644
--- a/ext/phar/tests/phpinfo_003.phpt
+++ b/ext/phar/tests/phpinfo_003.phpt
@@ -24,7 +24,6 @@ Phar
Phar: PHP Archive support => enabled
Phar EXT version => %s
Phar API version => 1.1.1
-SVN revision => %cId: %s $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
diff --git a/ext/phar/tests/phpinfo_004.phpt b/ext/phar/tests/phpinfo_004.phpt
index b6df340..a76a9ad 100644
--- a/ext/phar/tests/phpinfo_004.phpt
+++ b/ext/phar/tests/phpinfo_004.phpt
@@ -29,7 +29,6 @@ phpinfo(INFO_MODULES);
<tr class="h"><th>Phar: PHP Archive
support</th><th>enabled</th></tr>
<tr><td class="e">Phar EXT version </td><td
class="v">%s </td></tr>
<tr><td class="e">Phar API version </td><td
class="v">1.1.1 </td></tr>
-<tr><td class="e">SVN revision </td><td class="v">%sId:
%s $ </td></tr>
<tr><td class="e">Phar-based phar archives </td><td
class="v">enabled </td></tr>
<tr><td class="e">Tar-based phar archives </td><td
class="v">enabled </td></tr>
<tr><td class="e">ZIP-based phar archives </td><td
class="v">enabled </td></tr>
@@ -53,7 +52,6 @@ Phar based on pear/PHP_Archive, original concept by Davey Shafik.<br />Phar
full
<tr class="h"><th>Phar: PHP Archive
support</th><th>enabled</th></tr>
<tr><td class="e">Phar EXT version </td><td
class="v">%s </td></tr>
<tr><td class="e">Phar API version </td><td
class="v">1.1.1 </td></tr>
-<tr><td class="e">SVN revision </td><td class="v">%sId:
%s $ </td></tr>
<tr><td class="e">Phar-based phar archives </td><td
class="v">enabled </td></tr>
<tr><td class="e">Tar-based phar archives </td><td
class="v">enabled </td></tr>
<tr><td class="e">ZIP-based phar archives </td><td
class="v">enabled </td></tr>