tree: use a specialised mode parse function
Instead of going out to strtol, which is made to parse generic numbers, copy a parse function from git which is specialised for file modes.
Showing
Please
register
or
sign in
to comment
Instead of going out to strtol, which is made to parse generic numbers, copy a parse function from git which is specialised for file modes.