• Show log

    Commit

  • Hash : 8da93944
    Author : Patrick Steinhardt
    Date : 2018-12-01T10:52:44

    idxmap: have `resize` functions return proper error code
    
    The currently existing function `git_idxmap_resize` and
    `git_idxmap_icase_resize` do not return any error codes at all due to their
    previous implementation making use of a macro. Due to that, it is impossible to
    see whether the resize operation might have failed due to an out-of-memory
    situation.
    
    Fix this by providing a proper error code. Adjust callers to make use of it.