Yah, I forgot about EXCLUDED_PROGRAMS ;-)
Sounds like a sensible direction to go.
Show 15 quoted lines
> diff --git a/git.c b/git.c
> index 18bed9a9964..7c696e06ecf 100644
> --- a/git.c
> +++ b/git.c
> @@ -513,8 +513,10 @@ static struct cmd_struct commands[] = {
> { "config", cmd_config, RUN_SETUP_GENTLY | DELAY_PAGER_CONFIG },
> { "count-objects", cmd_count_objects, RUN_SETUP },
> { "credential", cmd_credential, RUN_SETUP_GENTLY | NO_PARSEOPT },
> +#ifndef NO_UNIX_SOCKETS
> { "credential-cache", cmd_credential_cache },
> { "credential-cache--daemon", cmd_credential_cache_daemon },
> +#endif
> { "credential-store", cmd_credential_store },
> { "describe", cmd_describe, RUN_SETUP },
> { "diff", cmd_diff, NO_PARSEOPT },