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

Unified Diff: utils/pub/command_lish.dart

Issue 11567015: Exclude .gitignored files from published package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_lish.dart
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart
index 01c03bca451451dd42ed3fa05a98ff456714829e..df0f21d08b418196576f5537d1e664aa536f2541 100644
--- a/utils/pub/command_lish.dart
+++ b/utils/pub/command_lish.dart
@@ -149,9 +149,10 @@ class LishCommand extends PubCommand {
git.isInstalled
]).chain((results) {
if (results[0] && results[1]) {
- // List all files that aren't gitignored, including those not checked in
- // to Git.
- return git.run(["ls-files", "--cached", "--others"]);
+ // List all files that aren't gitignored, including those not checked
+ // in to Git.
Siggi Cherem (dart-lang) 2012/12/13 18:34:07 in to => into?
+ return git.run(["ls-files", "--cached", "--others",
+ "--exclude-standard"]);
}
return listDir(rootDir, recursive: true).chain((entries) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698