summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-02-11 19:51:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-02-13 22:33:32 (GMT)
commit590fc05293964160e4360431950325658d75fe23 (patch)
tree1ab99d1530f074adba624c27fe711145bf9012b5 /git-rebase--interactive.sh
parent3ccd681c2ab11522591be8a7a3eddb1a85a43ab0 (diff)
downloadgit-590fc05293964160e4360431950325658d75fe23.zip
git-590fc05293964160e4360431950325658d75fe23.tar.gz
git-590fc05293964160e4360431950325658d75fe23.tar.bz2
rm: reuse strbuf for all remove_dir_recursively() calls, again
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 in deb8e15a (rm: reuse strbuf for all remove_dir_recursively() calls), but was reverted as a side-effect of 55856a35 (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>
Diffstat (limited to 'git-rebase--interactive.sh')
0 files changed, 0 insertions, 0 deletions