Permalink
Browse files

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

  • Loading branch information...
1 parent 2a4fc08 commit b423e149ef094430e42f2780c046996f346313df @gseguin committed Apr 5, 2013
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/project.js
View
@@ -23,14 +23,7 @@ module.exports.stagingDir = function setWorkBaseDir( dir ) {
function fetch( repoDir, callback ) {
Git( repoDir );
- async.series([
- function( next ) {
- Git.exec( [ "fetch", "-t" ], next );
- },
- function( next ) {
- Git.exec( [ "fetch" ], next );
- }
- ], callback );
+ Git.exec( [ "fetch", "origin +refs/heads/*:refs/heads/*" ], callback );
}
function remoteUpdate( repoDir, callback ) {

0 comments on commit b423e14

Please sign in to comment.