• Show log

    Commit

  • Hash : 944dbd12
    Author : Patrick Steinhardt
    Date : 2015-11-24T10:52:17

    blame: use size_t for line counts in git_blame__entry
    
    The `git_blame__entry` struct keeps track of line counts with
    `int` fields. Since `int` is only guaranteed to be at least 16
    bits we may overflow on certain platforms when line counts exceed
    2^15.
    
    Fix this by instead storing line counts in `size_t`.