Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DB25D39B for ; Fri, 17 May 2013 16:46:48 +0000 (UTC) Received: (qmail 36711 invoked by uid 500); 17 May 2013 16:46:48 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 36678 invoked by uid 500); 17 May 2013 16:46:48 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 36604 invoked by uid 99); 17 May 2013 16:46:48 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 16:46:48 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4F258375FB; Fri, 17 May 2013 16:46:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: braden@apache.org To: commits@cordova.apache.org Date: Fri, 17 May 2013 16:46:49 -0000 Message-Id: <6b3e0e1cd3904ab89db1991f11ef0d0e@git.apache.org> In-Reply-To: <8c21ecf74a9d4fccbfc8fb7ee4fae862@git.apache.org> References: <8c21ecf74a9d4fccbfc8fb7ee4fae862@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Fri May 17 12:43:27 2013 -0400 Committer: Braden Shepherdson 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); }