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.
Showing
Please
register
or
sign in
to comment