[PATCH v2 0/3] remote: optimize rm/prune ref deletion
- From
Jens Lindström <jl@opera.com>
- Date
- May 23, 2014, 10:26 UTC
- Message-ID
- <537F2252.3010101@opera.com>
- In-Reply-To
- <537B2FA4.7020001@opera.com>
Changes since previous version:
* Additionally change the order that 'remote rm' does things so that it removes the remote configuration as the last step and only if the other steps succeeded.
* Change the packed-refs repacking patch to repack before deleting refs instead of after. This makes the patch simpler, since delete_ref() no longer needs to be told not to repack.
Jens Lindstrom (3): remote rm: delete remote configuration as the last step remote: repack packed-refs once when deleting multiple refs remote prune: optimize "dangling symref" check/warning
builtin/remote.c | 37 ++++++++++++++++++++++++++++++------- refs.c | 21 +++++++++++++++++++-- refs.h | 3 +++ 3 files changed, 52 insertions(+), 9 deletions(-)
-- 1.9.1