git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Remove perl dependant commands if NO_PERL is set

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 3, 2015, 19:11 UTC
Message-ID
<xmqq7fo7jp1e.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1441298147-83601-1-git-send-email-garga@FreeBSD.org>
garga@FreeBSD.org writes:
Show 6 quoted lines
> From: Renato Botelho <garga@FreeBSD.org>
>
> git-submodule and git-request-pull are written in sh but use perl
> internally. Add them to be replaced by unimplemented.sh when NO_PERL
> flag is set
> ---
Missing sign-off.

You also may want to hold off the "git-submodule" bit, as I expect http://thread.gmane.org/gmane.comp.version-control.git/277128/focus=277129 would be one of the first changes to be in 'master' after the upcoming release 2.6 (that is, it is likely that perl dependency would be removed in 2.7).

Show 16 quoted lines
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index e326fa0..4dae0ec 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1795,7 +1795,7 @@ git-instaweb: git-instaweb.sh GIT-SCRIPT-DEFINES
>  	chmod +x $@+ && \
>  	mv $@+ $@
>  else # NO_PERL
> -$(SCRIPT_PERL_GEN) git-instaweb: % : unimplemented.sh
> +$(SCRIPT_PERL_GEN) git-instaweb git-submodule git-request-pull: % : unimplemented.sh
>  	$(QUIET_GEN)$(RM) $@ $@+ && \
>  	sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
>  	    -e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \
Previous: garga@freebsd.orgNext: Renato Botelho
Message 2 of 6 in “Remove perl dependant commands if NO_PERL is set”
  1. Remove perl dependant commands if NO_PERL is setgarga@freebsd.org, Sep 3, 2015
  2. Junio C HamanoSep 3, 2015
  3. Renato BotelhoSep 3, 2015
  4. Junio C HamanoSep 3, 2015
  5. Renato BotelhoSep 3, 2015
  6. Junio C HamanoSep 3, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.