]> git.ipfire.org Git - thirdparty/git.git/commit - git.c
make git-bugreport a builtin
authorJeff King <peff@peff.net>
Thu, 13 Aug 2020 14:59:36 +0000 (10:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Aug 2020 18:02:12 +0000 (11:02 -0700)
commitd7a5649c82dfa83ba8d0253e4140f242dca859a7
tree32a6298dadd6cce80adf1d95604e00169eaf21b2
parentb5dd96b70aca364f163f0b3743418779cfe062e6
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>
Makefile
builtin.h
builtin/bugreport.c [moved from bugreport.c with 96% similarity]
contrib/buildsystems/CMakeLists.txt
git.c