Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

project.fetch now does git fetch -t && git fetch

  • Loading branch information...
commit d26c1a8a954ba44a40c4f063c0ae38d5b2042dca 1 parent 4074f13
@gseguin authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/project.js
View
9 lib/project.js
@@ -23,7 +23,14 @@ module.exports.stagingDir = function setWorkBaseDir( dir ) {
function fetch( repoDir, callback ) {
Git( repoDir );
- Git.exec( [ "fetch", "-t" ], callback );
+ async.series([
+ function( next ) {
+ Git.exec( [ "fetch", "-t" ], next );
+ },
+ function( next ) {
+ Git.exec( [ "fetch" ], next );
+ }
+ ], callback );
}
function remoteUpdate( repoDir, callback ) {
Please sign in to comment.
Something went wrong with that request. Please try again.