• Show log

    Commit

  • Hash : ad6f2153
    Author : Edward Thomson
    Date : 2019-05-21T12:50:46

    utf8: use size_t for length of buffer
    
    The `git__utf8_charlen` now takes `size_t` as the buffer length, since
    it contains the full length of the buffer at the current position.  It
    now returns `-1` in all cases where utf8 codepoints are invalid, since
    callers only care about a valid length of a sequence of codepoints, or
    if the current position is not valid utf8.