You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2013/05/17 18:46:49 UTC

[2/3] git commit: Add git ref parameter support to CLI.

Add git ref parameter support to CLI.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/69f0909e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/69f0909e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/69f0909e

Branch: refs/heads/future
Commit: 69f0909eddf9a370890033e451ef56bfb5d70708
Parents: f19326a
Author: Braden Shepherdson <br...@gmail.com>
Authored: Fri May 17 12:43:27 2013 -0400
Committer: Braden Shepherdson <br...@gmail.com>
Committed: Fri May 17 12:43:27 2013 -0400

----------------------------------------------------------------------
 src/plugin.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/69f0909e/src/plugin.js
----------------------------------------------------------------------
diff --git a/src/plugin.js b/src/plugin.js
index f560ade..d05de1f 100644
--- a/src/plugin.js
+++ b/src/plugin.js
@@ -78,8 +78,7 @@ module.exports = function plugin(command, targets, callback) {
                 }
 
                 // Fetch the plugin first.
-                plugman.fetch(target, pluginsDir, false /* no link */, undefined /* subdir */, function(err, dir) {
-
+                plugman.fetch(target, pluginsDir, false /* no link */, undefined /* subdir */, undefined /* git_ref */, function(err, dir) {
                     if (err) {
                         throw new Error('Error fetching plugin: ' + err);
                     }