#include "test-tool.h" #include "git-compat-util.h" #include "strbuf.h" #include "iterator.h" #include "dir-iterator.h" static const char *error_name(int error_number) { … } /* * usage: * tool-test dir-iterator [--pedantic] directory_path */ int cmd__dir_iterator(int argc, const char **argv) { … }