remote: optimize rm/prune ref deletion
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v12 patches 6 repliesSuperseded
Changes since previous version from the cover letter
* 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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | remote rm: delete remote configuration as the lastbuiltin/ | +6 | 1 reply | |
| 2/3 | remote: repack packed-refs once when deleting multiple refsbuiltin/ refs.c refs.h | +21 | 2 replies | |
| 3/3 | remote prune: optimize "dangling symref" check/warningbuiltin/ refs.c refs.h | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] remote: optimize rm/prune ref deletion
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