push.c
15.2 KB
-
Fixed update_tips callback called for failed pushed references · e22ffb42
The current implementation does not set 'fire_callback' back to 0 for failed updates so the callback still fires. Instead of adding yet another condition check to set 'fire_callback' to 0 if needed, considering this function should be a no-op for failed updates anyway, the best fix is to simplify its logic to check upfront if the update is a failed one.
Pierre-Olivier Latour committed