Skip to content

housekeeping: Allow context cancellation of git-pack-refs(1)

We can add inhibitors from running git-pack-refs(1) via the addPackRefsInhibitor() function. But if there is a ongoing git-pack-refs(1), we are blocked until it finishes.

We instead use a context and propagate cancellation via the context. This allows the inhibitors to take priority and not be blocked over git-pack-refs(1).

Closes #5316 (closed)

Merge request reports