Git fork

Makefile: don’t add whatchanged after it has been removed

07572f220a8 (whatchanged: remove when built with WITH_BREAKING_CHANGES,
2025-05-12) set up the removal of git-whatchanged(1) when
`WITH_BREAKING_CHANGES` is active. Part of that work was removing it
from `commands` in `git.c`. But the Makefile still lists it as a
builtin. That leaves it in the limbo of being linked but not being
callable; you get the generic error about not being able to call it as
a *builtin*:

$ git whatchanged
fatal: cannot handle whatchanged as a builtin

instead of the expected:

$ git whatchanged
git: 'whatchanged' is not a git command. See 'git --help'.

Based-on-patch-by: Jeff King <peff@peff.net>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Kristoffer Haugsbakk and committed by
Junio C Hamano
29fe658f c44beea4

+2
+2
Makefile
··· 883 883 BUILT_INS += git-status$X 884 884 BUILT_INS += git-switch$X 885 885 BUILT_INS += git-version$X 886 + ifndef WITH_BREAKING_CHANGES 886 887 BUILT_INS += git-whatchanged$X 888 + endif 887 889 888 890 # what 'all' will build but not install in gitexecdir 889 891 OTHER_PROGRAMS += git$X