mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-25 19:43:19 -05:00
Don't throw the memory allocated for remove_dir_recursively() away after a single call, use it for the other entries as well instead. This change was done before indeb8e15a(rm: reuse strbuf for all remove_dir_recursively() calls), but was reverted as a side-effect of55856a35(rm: absorb a submodules git dir before deletion). Reinstate the optimization. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 KiB
10 KiB