Commit 252f2eeee0ecc90e5ae21efeadaccc9da666b845

Patrick Steinhardt 2017-07-14T13:45:05

parse: implement and use `git_parse_advance_digit` The patch parsing code has multiple recurring patterns where we want to parse an actual number. Create a new function `git_parse_advance_digit` and use it to avoid code duplication.