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

Unified Diff: utils/pub/git_source.dart

Issue 11194025: Second round of cleanups for new optional parameter semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
Index: utils/pub/git_source.dart
===================================================================
--- utils/pub/git_source.dart (revision 13712)
+++ utils/pub/git_source.dart (working copy)
@@ -147,7 +147,7 @@
* the working tree, but instead makes the repository a local mirror of the
* remote repository. See the manpage for `git clone` for more information.
*/
- Future _clone(String from, String to, [bool mirror=false]) {
+ Future _clone(String from, String to, {bool mirror: false}) {
// Git on Windows does not seem to automatically create the destination
// directory.
return ensureDir(to).chain((_) {

Powered by Google App Engine
This is Rietveld 408576698