Convert explicit recursive dir traversal at copy_or_link_directory of clone.c to use dir-iterator API. This is my microproject for GSoC 2019. Idea taken from https://git.github.io/SoC-2019-Microprojects/#use-dir-iterator-to-avoid-explicit-recursive-directory-traversal Matheus Tavares (2): clone: extract function from copy_or_link_directory clone: use dir-iterator to avoid explicit dir traversal builtin/clone.c | 64 ++++++++++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 27 deletions(-) -- 2.20.1