#include "../subcommand/fetch_subcommand.hpp" #include #include #include "../utils/credentials.hpp" #include "../utils/input_output.hpp" #include "../utils/progress.hpp" #include "../wasm/scope.hpp" #include "../wrapper/repository_wrapper.hpp" fetch_subcommand::fetch_subcommand(const libgit2_object&, CLI::App& app) { auto* sub = app.add_subcommand("fetch", "Download objects and refs from another repository"); sub->add_option("", m_remote_name, "The remote to fetch from")->default_val("origin"); sub->add_option("--depth", m_depth, "deepen or shorten history of shallow clone"); sub->add_option("--deepen", m_deepen, "deepen history of shallow clone"); // sub->add_option("--shallow-since", m_shallow_since, "