Makefile: mark git-maintenance as a builtin
authorJeff King <redacted>
Wed, 2 Dec 2020 02:34:11 +0000 (21:34 -0500)
committerJunio C Hamano <redacted>
Wed, 2 Dec 2020 22:50:26 +0000 (14:50 -0800)
commit0a21d0e08902755c09cf4d70279f4e86787d6cdb
treeedd115d832950cf5ff87ddc89e56585b727fa06f
parent25914c4fdeefd99b06e134496dfb9bbb58a5c417
Makefile: mark git-maintenance as a builtin

We normally get the list of builtin commands by expanding BUILTIN_OBJS.
But for commands which are embedded inside another's source file (e.g.,
cmd_show() in builtin/log.c), the Makefile needs to be told explicitly
about them.

Since cmd_maintenance() is inside buitin/gc.c, it should be listed
explicitly in the BUILT_INS list in the Makefile. Not doing so isn't
_too_ tragic, as it simply means we will not make a git-maintenance
symlink in libexec/git-core. Since we encourage people to use the "git
foo" form, even in scripts which have put libexec into their PATH,
nobody seems to have noticed.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile
git clone https://git.99rst.org/PROJECT