/** * Bidirectional prefix match for commit hashes (2.16.0 pre-tag review * TC-2/CS-1): links are stored however the caller wrote them — full 40-char * rev-parse output from hooks, 7-char abbreviations from humans — so an * exact-string test made short-vs-full lookups miss the common case and let * twining_commits assert "never linked" about a linked commit. Either side * being a prefix of the other counts, with a 4-character floor (git's own * abbreviation minimum) so an empty or tiny stored string can never match * everything. Case-insensitive: git SHAs are lowercase, pastes sometimes not. */ export declare function commitHashMatches(stored: string, query: string): boolean; //# sourceMappingURL=commit-hash.d.ts.map