summaryrefslogtreecommitdiffstats
path: root/tools/git
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 20:46:57 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 20:46:57 +0000
commit3fbbceea8d6395ed03e0e871f35f5398ad600738 (patch)
tree659f561c4cdfe027cae4b8cdf7e5c9f7fafdba1d /tools/git
parenta45544252ef3fd83dfd7bdd8c8fff1afc4851683 (diff)
downloadchromium_src-3fbbceea8d6395ed03e0e871f35f5398ad600738.zip
chromium_src-3fbbceea8d6395ed03e0e871f35f5398ad600738.tar.gz
chromium_src-3fbbceea8d6395ed03e0e871f35f5398ad600738.tar.bz2
Update tools/git/update-copyrights.sh.
Print out that updating copyright year is no longer necessary now. See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/8p4JKV76kig/OiFYFjuZ6nAJ BUG=none TEST=none R=thakis@chromium.org Review URL: https://codereview.chromium.org/11886101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/git')
-rwxr-xr-xtools/git/update-copyrights.sh13
1 files changed, 2 insertions, 11 deletions
diff --git a/tools/git/update-copyrights.sh b/tools/git/update-copyrights.sh
index 299362e..ac69bd5 100755
--- a/tools/git/update-copyrights.sh
+++ b/tools/git/update-copyrights.sh
@@ -3,14 +3,5 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-tmp=$(mktemp -t chromium-update-copyrights.XXXXX)
-trap "rm -f $tmp" EXIT
-git diff --name-only $(git cl upstream)... | while read file; do
- cp "$file" "$tmp"
- # Rather than editing the temporary file, edit the original file in-place
- # so that we preserve file modes.
- sed -i -e '1,4s/Copyright .c. .* The Chromium Authors/Copyright (c) 2012 The Chromium Authors/' "$file"
- if ! diff -q "$file" "$tmp" > /dev/null; then
- echo "updated $file"
- fi
-done
+echo 'Updating copyrights is no longer necessary.'
+echo 'See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/8p4JKV76kig/OiFYFjuZ6nAJ'