summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-08-07 13:15:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-07 12:26:35 -0700
commit7df3bd462a7e8cd18f16ae33acc49fac15db7c3e (patch)
treefc463e049753ee52d2621e344680cc2225aeee25 /t/helper/test-tool.h
parentdir-iterator: release strbuf after use (diff)
downloadtgif-7df3bd462a7e8cd18f16ae33acc49fac15db7c3e.tar.xz
test-dir-iterator: use path argument directly
Avoid allocating and leaking a strbuf for holding a verbatim copy of the path argument and pass the latter directly to dir_iterator_begin() instead. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.h')
0 files changed, 0 insertions, 0 deletions