#include "git-compat-util.h" #include "hash.h" #include "hex.h" #include "reftable/system.h" #include "reftable/reftable-error.h" #include "reftable/reftable-merged.h" #include "reftable/reftable-reader.h" #include "reftable/reftable-stack.h" #include "test-tool.h" static void print_help(void) { … } static int dump_table(struct reftable_merged_table *mt) { … } static int dump_stack(const char *stackdir, uint32_t hash_id) { … } static int dump_reftable(const char *tablename) { … } int cmd__dump_reftable(int argc, const char **argv) { … }