Permalink
Browse files

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

  • Loading branch information...
gseguin committed Apr 5, 2013
1 parent 4074f13 commit d26c1a8a954ba44a40c4f063c0ae38d5b2042dca
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/project.js
View
@@ -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 ) {

0 comments on commit d26c1a8

Please sign in to comment.