Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: tools/list_files.py

Issue 2379803002: Linux create_sdk GN build for host (Closed)
Patch Set: Move create_timestamp.gni Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dart_for_gn.py ('k') | utils/analysis_server/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/list_files.py
diff --git a/tools/list_files.py b/tools/list_files.py
old mode 100644
new mode 100755
index 1b10b627f513ffbd2d92e59a44737ebc0cec96af..ad277e853f0a03c851b03b4f0ac9f37ca592c4f0
--- a/tools/list_files.py
+++ b/tools/list_files.py
@@ -18,8 +18,8 @@ def main(argv):
pattern = re.compile(argv[1])
for directory in argv[2:]:
for root, directories, files in os.walk(directory):
- if '.svn' in directories:
- directories.remove('.svn')
+ if '.git' in directories:
+ directories.remove('.git')
for filename in files:
fullname = os.path.relpath(os.path.join(root, filename))
fullname = fullname.replace(os.sep, '/')
« no previous file with comments | « tools/dart_for_gn.py ('k') | utils/analysis_server/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698