summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-08-13 14:59:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-13 18:02:13 (GMT)
commita006f875e2689cb7df543d5950beadb0416d305b (patch)
tree575fcc5519ccede961c7065ee193ed9989332ce0 /builtin.h
parentd7a5649c82dfa83ba8d0253e4140f242dca859a7 (diff)
downloadgit-a006f875e2689cb7df543d5950beadb0416d305b.zip
git-a006f875e2689cb7df543d5950beadb0416d305b.tar.gz
git-a006f875e2689cb7df543d5950beadb0416d305b.tar.bz2
make git-fast-import a builtin
There's no reason that git-fast-import benefits from being a separate binary. And as it links against libgit.a, it has a non-trivial disk footprint. Let's make it a builtin, which reduces the size of a stripped installation from 22MB to 21MB. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 1e78d6c..ba954e1 100644
--- a/builtin.h
+++ b/builtin.h
@@ -150,6 +150,7 @@ int cmd_diff_tree(int argc, const char **argv, const char *prefix);
int cmd_difftool(int argc, const char **argv, const char *prefix);
int cmd_env__helper(int argc, const char **argv, const char *prefix);
int cmd_fast_export(int argc, const char **argv, const char *prefix);
+int cmd_fast_import(int argc, const char **argv, const char *prefix);
int cmd_fetch(int argc, const char **argv, const char *prefix);
int cmd_fetch_pack(int argc, const char **argv, const char *prefix);
int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix);