summaryrefslogtreecommitdiffstats
path: root/t/helper/test-tool.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-25 22:59:22 +0200
committerJunio C Hamano <gitster@pobox.com>2019-07-25 22:59:22 +0200
commit080af915a3ee4d9511dc288b29143b9958ac0adc (patch)
tree020d4d1049096bae629e1aa031b3d1dc85875ed3 /t/helper/test-tool.h
parentMerge branch 'vn/xmmap-gently' (diff)
parentclone: replace strcmp by fspathcmp (diff)
downloadgit-080af915a3ee4d9511dc288b29143b9958ac0adc.tar.xz
git-080af915a3ee4d9511dc288b29143b9958ac0adc.zip
Merge branch 'mt/dir-iterator-updates'
Adjust the dir-iterator API and apply it to the local clone optimization codepath. * mt/dir-iterator-updates: clone: replace strcmp by fspathcmp clone: use dir-iterator to avoid explicit dir traversal clone: extract function from copy_or_link_directory clone: copy hidden paths at local clone dir-iterator: add flags parameter to dir_iterator_begin dir-iterator: refactor state machine model dir-iterator: use warning_errno when possible dir-iterator: add tests for dir-iterator API clone: better handle symlinked files at .git/objects/ clone: test for our behavior on odd objects/* content
Diffstat (limited to 't/helper/test-tool.h')
-rw-r--r--t/helper/test-tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index c7a46dc320..f805bb39ae 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -9,6 +9,7 @@ int cmd__config(int argc, const char **argv);
int cmd__ctype(int argc, const char **argv);
int cmd__date(int argc, const char **argv);
int cmd__delta(int argc, const char **argv);
+int cmd__dir_iterator(int argc, const char **argv);
int cmd__drop_caches(int argc, const char **argv);
int cmd__dump_cache_tree(int argc, const char **argv);
int cmd__dump_fsmonitor(int argc, const char **argv);