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