(b byte)
| 577 | } |
| 578 | |
| 579 | func isASCIILetter(b byte) bool { |
| 580 | return (b >= 'a' && b <= 'z') || (b >= 'A' && b <= 'Z') |
| 581 | } |
| 582 | |
| 583 | // resolveCommit returns the immutable commit SHA a ref points at, or "" when the |
| 584 | // ref does not resolve to a commit (e.g. an unborn HEAD, or a bad ref). The |