Can you make this `int Repository::RefCallback` instead to mirror the existing `StatusCallback` and `DiffHunkCallback` callbacks?