Permalink
Browse files

Changed fetch command after reading http://stackoverflow.com/question…

…s/10696718/git-fetch-fails-to-work-on-bare-repo-but-git-pull-works-on-normal-repo ( another attempt, this time by passing the right args to git )
  • Loading branch information...
1 parent 335d100 commit 1e7535f9ed3981a978dbbb7692cdfe630664f6d4 @gseguin committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/project.js
View
@@ -23,7 +23,7 @@ module.exports.stagingDir = function setWorkBaseDir( dir ) {
function fetch( repoDir, callback ) {
Git( repoDir );
- Git.exec( [ "fetch", "origin +refs/heads/*:refs/heads/*" ], callback );
+ Git.exec( [ "fetch", "origin", "+refs/heads/*:refs/heads/*" ], callback );
}
function remoteUpdate( repoDir, callback ) {

0 comments on commit 1e7535f

Please sign in to comment.