Re: [PATCH 2/2] Build-in "git-shell"
> This trivially makes "git-shell" a built-in. It makes the executable even
> fatter, though.
Show 12 quoted lines
> diff --git a/Makefile b/Makefile
> index 71339e1..1a52f71 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -546,6 +546,7 @@ BUILTIN_OBJS += builtin-rev-parse.o
> BUILTIN_OBJS += builtin-revert.o
> BUILTIN_OBJS += builtin-rm.o
> BUILTIN_OBJS += builtin-send-pack.o
> +BUILTIN_OBJS += builtin-shell.o
> BUILTIN_OBJS += builtin-shortlog.o
> BUILTIN_OBJS += builtin-show-branch.o
> BUILTIN_OBJS += builtin-show-ref.o
diff --git a/Makefile b/Makefile
index 57d16cb..fae9b22 100644
--- a/Makefile
+++ b/Makefile
@@ -826,7 +826,6 @@ EXTLIBS += -lz
ifndef NO_POSIX_ONLY_PROGRAMS
PROGRAMS += git-daemon$X
PROGRAMS += git-imap-send$X
- PROGRAMS += git-shell$X
endif
ifndef NO_OPENSSL
OPENSSL_LIBSSL = -lssl
We removed git-shell from the MinGW build only because of the compat
dependencies. We don't have problems building it as a built-in.
-- Hannes