diff options
author | René Scharfe <l.s.r@web.de> | 2019-08-07 13:15:20 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-07 12:26:35 -0700 |
commit | 7df3bd462a7e8cd18f16ae33acc49fac15db7c3e (patch) | |
tree | fc463e049753ee52d2621e344680cc2225aeee25 /chdir-notify.h | |
parent | dir-iterator: release strbuf after use (diff) | |
download | tgif-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 'chdir-notify.h')
0 files changed, 0 insertions, 0 deletions