summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-08-13 14:59:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-13 18:02:12 (GMT)
commitd7a5649c82dfa83ba8d0253e4140f242dca859a7 (patch)
tree32a6298dadd6cce80adf1d95604e00169eaf21b2 /builtin.h
parentb5dd96b70aca364f163f0b3743418779cfe062e6 (diff)
downloadgit-d7a5649c82dfa83ba8d0253e4140f242dca859a7.zip
git-d7a5649c82dfa83ba8d0253e4140f242dca859a7.tar.gz
git-d7a5649c82dfa83ba8d0253e4140f242dca859a7.tar.bz2
make git-bugreport a builtin
There's no reason that bugreport has to be a separate binary. And since it links against libgit.a, it has a rather large disk footprint. Let's make it a builtin, which reduces the size of a stripped installation from 24MB to 22MB. This also simplifies our Makefile a bit. And we can take advantage of builtin niceties like RUN_SETUP_GENTLY. 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 4a0aed5..1e78d6c 100644
--- a/builtin.h
+++ b/builtin.h
@@ -119,6 +119,7 @@ int cmd_archive(int argc, const char **argv, const char *prefix);
int cmd_bisect__helper(int argc, const char **argv, const char *prefix);
int cmd_blame(int argc, const char **argv, const char *prefix);
int cmd_branch(int argc, const char **argv, const char *prefix);
+int cmd_bugreport(int argc, const char **argv, const char *prefix);
int cmd_bundle(int argc, const char **argv, const char *prefix);
int cmd_cat_file(int argc, const char **argv, const char *prefix);
int cmd_checkout(int argc, const char **argv, const char *prefix);