Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b423e149ef094430e42f2780c046996f346313df 1 parent 2a4fc08
Ghislain Seguin authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/project.js
9 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 ) {
Please sign in to comment.
Something went wrong with that request. Please try again.