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

Unified Diff: utils/pub/git_source.dart

Issue 11377036: Try setting the working directory explicitly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix line endings Created 8 years, 1 month 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 | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/git_source.dart
diff --git a/utils/pub/git_source.dart b/utils/pub/git_source.dart
index 6327638d93ba54925cc3da600db4e351cab060dc..c79253c436cef007aa52bf0551df341f745d9a7a 100644
--- a/utils/pub/git_source.dart
+++ b/utils/pub/git_source.dart
@@ -153,7 +153,7 @@ class GitSource extends Source {
return ensureDir(to).chain((_) {
var args = ["clone", from, to];
if (mirror) args.insertRange(1, 1, "--mirror");
- return git.run(args);
+ return git.run(args, workingDir: currentWorkingDir);
}).transform((result) => null);
}
« no previous file with comments | « no previous file | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698