• Show log

    Commit

  • Hash : a693b873
    Author : Patrick Steinhardt
    Date : 2017-06-07T10:20:44

    buffer: use `git_buf_init` with length
    
    The `git_buf_init` function has an optional length parameter, which will
    cause the buffer to be initialized and allocated in one step. This can
    be used instead of static initialization with `GIT_BUF_INIT` followed by
    a `git_buf_grow`. This patch does so for two functions where it is
    applicable.