revwalk: remove one useless layer of functions
We don't currently need to have anything that's different between `get_revision` and `get_one_revision` so let's just remove the inner function and make the code more straightforward.
Showing
Please
register
or
sign in
to comment