summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-07-03 02:52:16 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2018-07-25 00:53:25 +0200
commit8d3f8ca12a0b00f2a74a27424790222536235502 (patch)
treef35ddbdb8b5bc9259712d0275cb461ab7de9b7b9 /sapi/cli
parentdcd6a6ff367a91f8c03303a4dc2e3c8b17d692ed (diff)
downloadphp-git-8d3f8ca12a0b00f2a74a27424790222536235502.tar.gz
Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
Diffstat (limited to 'sapi/cli')
-rw-r--r--sapi/cli/cli.h2
-rw-r--r--sapi/cli/config.m44
-rw-r--r--sapi/cli/config.w321
-rw-r--r--sapi/cli/php_cli.c2
-rw-r--r--sapi/cli/php_cli_process_title.c2
-rw-r--r--sapi/cli/php_cli_process_title.h2
-rw-r--r--sapi/cli/ps_title.h2
7 files changed, 1 insertions, 14 deletions
diff --git a/sapi/cli/cli.h b/sapi/cli/cli.h
index a02d6241dc..5cc39ff00b 100644
--- a/sapi/cli/cli.h
+++ b/sapi/cli/cli.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef CLI_H
#define CLI_H
diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4
index 21681512a7..7382963959 100644
--- a/sapi/cli/config.m4
+++ b/sapi/cli/config.m4
@@ -1,6 +1,4 @@
-dnl
-dnl $Id$
-dnl
+dnl config.m4 for sapi cli
PHP_ARG_ENABLE(cli,,
[ --disable-cli Disable building CLI version of PHP
diff --git a/sapi/cli/config.w32 b/sapi/cli/config.w32
index 7d0e5954ff..ba55be2218 100644
--- a/sapi/cli/config.w32
+++ b/sapi/cli/config.w32
@@ -1,5 +1,4 @@
// vim:ft=javascript
-// $Id$
ARG_ENABLE('cli', 'Build CLI version of PHP', 'yes');
ARG_ENABLE('crt-debug', 'Enable CRT memory dumps for debugging sent to STDERR', 'no');
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index d67cefca9f..00bc1d793c 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -20,8 +20,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#include "php.h"
#include "php_globals.h"
#include "php_variables.h"
diff --git a/sapi/cli/php_cli_process_title.c b/sapi/cli/php_cli_process_title.c
index c1074ebf19..a85370cbd5 100644
--- a/sapi/cli/php_cli_process_title.c
+++ b/sapi/cli/php_cli_process_title.c
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
diff --git a/sapi/cli/php_cli_process_title.h b/sapi/cli/php_cli_process_title.h
index 854dec6165..8882e3cd0e 100644
--- a/sapi/cli/php_cli_process_title.h
+++ b/sapi/cli/php_cli_process_title.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef PHP_PS_TITLE_HEADER
#define PHP_PS_TITLE_HEADER
diff --git a/sapi/cli/ps_title.h b/sapi/cli/ps_title.h
index 69e791061c..bc18470ce1 100644
--- a/sapi/cli/ps_title.h
+++ b/sapi/cli/ps_title.h
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef PS_TITLE_HEADER
#define PS_TITLE_HEADER