lib/repos.js
function (cb) {
      async.map(self._repos, function (repo, repoCb) {
        self._client.gitdata.getReference({
          user: self._repoParts[repo].org,
          repo: self._repoParts[repo].repo,
          ref: branchSrcFull
        }, function (err, res) {
          if (self._checkAndHandleError(err, repo, repoCb)) { return; }
          repoCb(null, {
            repo: repo,
            sha: res.object.sha
          });
        });
      }, cb);
    }
function (cb) {
      async.map(self._repos, function (repo, repoCb) {
        self._client.gitdata.getReference({
          user: self._repoParts[repo].org,
          repo: self._repoParts[repo].repo,
          ref: branchSrcFull
        }, function (err, res) {
          if (self._checkAndHandleError(err, repo, repoCb)) { return; }
          repoCb(null, {
            repo: repo,
            sha: res.object.sha
          });
        });
      }, cb);
    }
function ( cb ) { async . map ( self . _repos , function ( repo , repoCb ) { self . _client . gitdata . getReference ( { user : self . _repoParts [ repo ] . org , repo : self . _repoParts [ repo ] . repo , ref : branchSrcFull } , function ( err , res ) { if ( self . _checkAndHandleError ( err , repo , repoCb ) ) { return ; } repoCb ( null , { repo : repo , sha : res . object . sha } ) ; } ) ; } , cb ) ; }
Get the most recent commit of the source branch.
Get the most recent commit of the source branch .