Skip to content

Commit 0f95b8c

Browse files
committed
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.
1 parent 25b8627 commit 0f95b8c

File tree

382 files changed

+3
-416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

382 files changed

+3
-416
lines changed

ChangeLog-4.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'ChangeLog-4.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/changelogs.inc';

ChangeLog-5.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'ChangeLog-5.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/changelogs.inc';

archive/1998.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/1998.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/1999.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/1999.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2000.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2000.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2001.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2001.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2002.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2002.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2003.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2003.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2004.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2004.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2005.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2005.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2006.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2006.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2007.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2007.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2008.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2008.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2009.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2009.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2010.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'archive/2010.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2011.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id: 2010.php 293613 2010-01-16 13:38:42Z bjori $
32
$_SERVER['BASE_PAGE'] = 'archive/2011.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/2012.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id: 2010.php 293613 2010-01-16 13:38:42Z bjori $
32
$_SERVER['BASE_PAGE'] = 'archive/2012.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
news_archive_sidebar();

archive/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
43
$i = 0;
54
do {

backend/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
// Simulate a /backend shortcut call (which will lead to a manual page)
53
$_SERVER['REQUEST_URI'] = '/backend';
64
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';

bin/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
// Simulate a /bin shortcut call (which will lead to a manual page)
53
$_SERVER['REQUEST_URI'] = '/bin';
64
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';

build-setup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'get-involved.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

cal.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'cal.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

conferences/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'conferences/index.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc';

contact.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'contact.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
site_header("Contact", array("current" => "community"));

copyright.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'copyright.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
$SIDEBAR_DATA = '

credits.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'credits.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

docs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'docs.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

download-docs.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'download-docs.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

download-logos.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'download-logos.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
$SIDEBAR_DATA = '

downloads.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php // vim: et
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'downloads.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/gpg-keys.inc';

elephpant.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'elephpant.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
$SIDEBAR_DATA = '

error.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
/*
53
64
This script handles all 401, 403 and 404 error redirects,

get-involved.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'get-involved.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

git.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'git.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
$SIDEBAR_DATA = '

images/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
// Simulate a /images shortcut call (which will lead to a manual page)
53
$_SERVER['REQUEST_URI'] = '/images';
64
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';

include/changelogs.inc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
/* $Id$ */
3-
42
function bugfix($number) {
53
echo "Fixed bug "; bugl($number);
64
}
@@ -36,4 +34,4 @@ function release_date($in) {
3634
echo "<time class='releasedate' datetime='{$for_tools}'>{$human_readable}</time>";
3735
}
3836

39-
?>
37+
?>

include/do-download.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
// $Id$
4-
53
/*
64
This code redirects the user to the exact file to
75
download, and logs the download if it's something

include/email-validation.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
// $Id$
4-
53
// Try to remove anti-SPAM bits
64
function clean_AntiSPAM($email)
75
{

include/errors.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
/*
53
This script provides functions to print out
64
error messages for users in case something is

include/get-download.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
// Try to make this page non-cached
53
header_nocache();
64

include/header.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
/* $Id$ */
3-
42
$css_files = array(
53
'/fonts/Fira/fira.css',
64
'/fonts/Font-Awesome/css/fontello.css',

include/index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
// $Id$
3-
42
// Simulate a /include shortcut call (which will lead to a manual page)
53
$_SERVER['REQUEST_URI'] = '/include';
64
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';

include/ip-to-country.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
/*
64
75
This script uses the local copy of the ip-to-country.com

include/langchooser.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
/*
64
75
This script tries to guess what language to use for

include/languages.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
/*
64
This is a list of all manual languages hosted
75
within PHP SVN modules (phpdoc-{lang})

include/layout.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
/* $Id$ */
3-
42
$_SERVER['STATIC_ROOT'] = $MYSITE;
53
$_SERVER['MYSITE'] = $MYSITE;
64

include/loadavg.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php # vim:ft=php
22

3-
// $Id$
4-
53
/*
64
Offload to the visitor's nearest mirror if the load is too high.
75
We use the sys_getloadavg() function that requires PHP 5.1.3+

include/manual-lookup.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
// We need this for error reporting
64
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/errors.inc';
75

include/posttohost.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
// $Id$
4-
53
/*
64
This code is used to post data to the central server which
75
can store the data in database and/or mail notices or requests

include/prepend.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Compress all pages, if ext/zlib is available on the mirror
33
ini_set("zlib.output_compression", 1);
44

5-
// $Id$
6-
75
// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
86
// for cache control header descriptions (used in many places on the site).
97

include/results.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id: $
32
function search_results($res, $q, $profile='all', $per_page=10, $s=0, $l='en', $show_title=true, $show_foot=true, $show_attrib=true) {
43
$start_result = $s;
54
$end_result = $s + $res['ResultSet']['totalResultsReturned'] -1;

include/shared-manual.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
/*
64

75
This file is included directly on all manual pages,

include/shared-stat.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php // -*- C++ -*-
2-
// $Id$
32
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
43

54
function commonStatHeader($title) {

include/site.inc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php // -*- C++ -*-
22

3-
// $Id$
4-
53
// Define $MIRRORS array, and some constants
64
include $_SERVER['DOCUMENT_ROOT'] . '/include/mirrors.inc';
75

license/contrib-guidelines-code.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'license/contrib-guidelines-code.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
site_header("License Information", array("current" => "help"));

license/distrib-guidelines-code.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'license/distrib-guidelines-code.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
site_header("License Information", array("current" => "help"));

license/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'license/index.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54

mailing-lists.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'mailing-lists.php';
43
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc';

manual-lookup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
// $Id$
32
$_SERVER['BASE_PAGE'] = 'manual-lookup.php';
43
include $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
54
include $_SERVER['DOCUMENT_ROOT'] . '/include/loadavg.inc';

0 commit comments

Comments
 (0)