[gnome-ostree] git-mirror: Ensure we fetch base too



commit ea49bc34c2b90c400683b458c42e2a94e2afa808
Author: Colin Walters <walters verbum org>
Date:   Sun Dec 16 18:07:59 2012 -0500

    git-mirror: Ensure we fetch base too

 src/ostbuild/js/git_mirror.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/git_mirror.js b/src/ostbuild/js/git_mirror.js
index 6dc5b1c..9858f43 100644
--- a/src/ostbuild/js/git_mirror.js
+++ b/src/ostbuild/js/git_mirror.js
@@ -76,10 +76,11 @@ const GitMirror = new Lang.Class({
 	let componentNames;
         if (args.components.length == 0) {
             componentNames = [];
+            componentNames.push(this._snapshot['patches']['name']);
+            componentNames.push(this._snapshot['base']['name']);
 	    this._snapshot['components'].forEach(function (component) {
 		componentNames.push(component['name']);
 	    });
-            componentNames.push(this._snapshot['patches']['name']);
         } else {
             componentNames = args.components;
 	}



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