| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | util: introduce `git__prefixncmp` and consolidate implementations | Edward Thomson | 2017-12-20 | 1 | -0/+42 |
| | | | | | | | | | | | | Introduce `git_prefixncmp` that will search up to the first `n` characters of a string to see if it is prefixed by another string. This is useful for examining if a non-null terminated character array is prefixed by a particular substring. Consolidate the various implementations of `git__prefixcmp` around a single core implementation and add some test cases to validate its behavior. | ||||
| * | git__tolower: test that some non-ASCII downcasing isn't | Edward Thomson | 2015-05-29 | 1 | -0/+4 |
| | | |||||
| * | git__strcasecmp: treat input bytes as unsigned | Edward Thomson | 2015-05-29 | 1 | -0/+38 |
| | | | | | | | Treat input bytes as unsigned before doing arithmetic on them, lest we look at some non-ASCII byte (like a UTF-8 character) as a negative value and perform the comparison incorrectly. | ||||
| * | Rename tests-clar to tests | Ben Straub | 2013-11-14 | 1 | -0/+41 |
