(b byte)
| 487 | } |
| 488 | |
| 489 | func isASCIILetter(b byte) bool { |
| 490 | return (b >= 'a' && b <= 'z') || (b >= 'A' && b <= 'Z') |
| 491 | } |
| 492 | |
| 493 | // resolveCommit returns the immutable commit SHA a ref points at, or "" when the |
| 494 | // ref does not resolve to a commit (e.g. an unborn HEAD, or a bad ref). The |