grafts: move refresh logic into grafts code
The refresh logic for both "normal" and shallow grafts are currently part of the repository code and implemented twice. Unify them into the grafts code by introducing two new functions to create grafts from a file and to refresh a grafts structure.
Showing
Please
register
or
sign in
to comment