diff options
author | Jeff King <peff@peff.net> | 2020-12-01 21:34:11 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-02 14:50:26 -0800 |
commit | 0a21d0e08902755c09cf4d70279f4e86787d6cdb (patch) | |
tree | edd115d832950cf5ff87ddc89e56585b727fa06f /git-compat-util.h | |
parent | maintenance: add trace2 regions for task execution (diff) | |
download | tgif-0a21d0e08902755c09cf4d70279f4e86787d6cdb.tar.xz |
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions