[gnome-ostree] vcs: Properly propagate fetch parameters when recursing on submodules



commit 4467f9b9d2ecd953c2c57f6a892934155b52086c
Author: Colin Walters <walters verbum org>
Date:   Fri Feb 22 00:25:38 2013 -0500

    vcs: Properly propagate fetch parameters when recursing on submodules
    
    This *shouldn't* fix the bug I am seeing where we keep failing on
    gnome-control-center's egg-list-box, but it's correct anyways.

 src/js/vcs.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/vcs.js b/src/js/vcs.js
index f48f50c..236e8bb 100644
--- a/src/js/vcs.js
+++ b/src/js/vcs.js
@@ -224,7 +224,7 @@ function ensureVcsMirror(mirrordir, keytype, uri, branch, cancellable,
        _listSubmodules(mirrordir, mirror, keytype, uri, branch, cancellable).forEach(function (elt) {
            let [subChecksum, subName, subUrl] = elt;
            print("Processing submodule " + subName + " at " + subChecksum + " from " + subUrl);
-            ensureVcsMirror(mirrordir, keytype, subUrl, subChecksum, cancellable, {fetch:fetch});
+            ensureVcsMirror(mirrordir, keytype, subUrl, subChecksum, cancellable, params);
        });
     }
     


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]