dist/ng-describe.js
function commitId(id) {
    return check.string(id) &&
      id.length === 40 &&
      shaReg.test(id);
  }
function commitId(id) {
    return check.string(id) &&
      id.length === 40 &&
      shaReg.test(id);
  }
function commitId ( id ) { return check . string ( id ) && id . length === 40 && shaReg . test ( id ) ; }
Returns true if the given string is 40 digit SHA commit id
@method commitId
Returns true if the given string is 40 digit SHA commit id