Marcel Kinard created CB-5065: --------------------------------- Summary: Using git-ref on "cordova plugin add" fails with error Key: CB-5065 URL: https://issues.apache.org/jira/browse/CB-5065 Project: Apache Cordova Issue Type: Bug Components: Plugman Reporter: Marcel Kinard Assignee: Marcel Kinard Priority: Minor
When trying to add a plugin using a git-ref, it fails with an error: $ ../cordova-cli/bin/cordova --verbose plugin add https://github.com/apache/cordova-plugin-console.git#r0.2.0 Calling plugman.fetch on plugin "https://github.com/apache/cordova-plugin-console.git#r0.2.0" Fetching plugin from "https://github.com/apache/cordova-plugin-console.git#r0.2.0"... Fetching plugin from "https://github.com/apache/cordova-plugin-console.git"... Fetching plugin via git-clone command: git clone "https://github.com/apache/cordova-plugin-console.git" "plugman-tmp1381514955645" Plugin "https://github.com/apache/cordova-plugin-console.git" fetched. Error: Error fetching plugin: Error: Command failed: error: pathspec 'r0.2.0' did not match any file(s) known to git. at /Users/marcelk/Developer/apache/cordova-cli/src/plugin.js:94:41 at _rejected (/Users/marcelk/Developer/apache/cordova-cli/node_modules/q/q.js:808:24) at /Users/marcelk/Developer/apache/cordova-cli/node_modules/q/q.js:834:30 at Promise.when (/Users/marcelk/Developer/apache/cordova-cli/node_modules/plugman/node_modules/q/q.js:1079:31) at Promise.promise.promiseDispatch (/Users/marcelk/Developer/apache/cordova-cli/node_modules/plugman/node_modules/q/q.js:752:41) at /Users/marcelk/Developer/apache/cordova-cli/node_modules/plugman/node_modules/q/q.js:574:44 at flush (/Users/marcelk/Developer/apache/cordova-cli/node_modules/plugman/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13) -- This message was sent by Atlassian JIRA (v6.1#6144)