code: function onCommitRange (localSha, remoteSha, conf) {
    var range = localSha; // all local commits until localSha
  
    if (localSha.match(/^0+$/)) {
      // Delete branch: skip
      return Promise.resolve();
    }
  
    if (!remoteSha.match(/^0+$/)) {
      // Remote branch exists: build range
      range = remoteSha + ".." + localSha;
    }
  
    return analyzeRange(range, localSha, conf);
  }
docs: String, Sha, String, Sha → void