Permalink
Browse files

set the remote correctly with repo + ".git" in the deploy command

  • Loading branch information...
1 parent ff4cfc8 commit 975f6b9452adcd560a9d997c4a5570dfa441fea0 @substack committed Aug 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/deploy.js
View
@@ -47,7 +47,8 @@ function deploy (hub, opts) {
;
uri = xs[0] + ':' + gitPort;
}
- return 'http://' + auth + uri;
+ var r = opts.repo.replace(/(\.git)?$/, '.git');
+ return 'http://' + auth + uri + '/' + r;
})();
git.push(ref, function (err) {

0 comments on commit 975f6b9

Please sign in to comment.