diff options
author | René Scharfe <l.s.r@web.de> | 2019-08-07 14:15:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-07 22:26:35 +0300 |
commit | 7df3bd462a7e8cd18f16ae33acc49fac15db7c3e (patch) | |
tree | fc463e049753ee52d2621e344680cc2225aeee25 /commit.c | |
parent | 9b7b0295f9521262b50143e580f4eb27b7bb83a7 (diff) |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions