parse.h
1.4 KB
-
parse: implement and use `git_parse_advance_digit` · 252f2eee
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.
Patrick Steinhardt committed