summaryrefslogtreecommitdiffstats
path: root/tools/git
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 19:25:17 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-19 19:25:17 +0000
commit5bc96b735ba8bf58020c9e41672dcc5d63f562c1 (patch)
tree434560750c072e4ea22077a6e021d28224d1bbb4 /tools/git
parent56b5c3748c24438ec86857071b6df6808b9d76aa (diff)
downloadchromium_src-5bc96b735ba8bf58020c9e41672dcc5d63f562c1.zip
chromium_src-5bc96b735ba8bf58020c9e41672dcc5d63f562c1.tar.gz
chromium_src-5bc96b735ba8bf58020c9e41672dcc5d63f562c1.tar.bz2
Add a comment to mass-rename.sh that points to sort-headers.py
BUG=none TEST=none Review URL: http://codereview.chromium.org/7050018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85952 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/git')
-rwxr-xr-xtools/git/mass-rename.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/git/mass-rename.sh b/tools/git/mass-rename.sh
index 9b6cec3..bc184be 100755
--- a/tools/git/mass-rename.sh
+++ b/tools/git/mass-rename.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -10,6 +10,8 @@
# 1) git mv foo1 bar1; git mv foo2 bar2; etc.
# 2) *without committing*, ./tools/git/mass-rename.sh
# 3) look at git diff (without --cached) to see what the damage is
+# 4) commit, then use tools/sort-headers.py to fix #include ordering:
+# for f in $(git diff --name-only origin); do ./tools/sort-headers.py $f; done
# rename:
# update all uses of |from| (first argument) to |to| (second argument).