From df81c56524e578f569ea12854526c1461ac6e42d Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Tue, 28 Apr 2020 08:41:34 +0200 Subject: [PATCH] Enable passing java options to jgit command line executable This allows to pass java options to the jgit command line executable by setting the environment variable "java_args", e.g. $ java_args="-Xmx8g" jgit log Change-Id: Ic7271b104737a8306d9db0f1895079b9f7bb7fd0 Signed-off-by: Matthias Sohn --- org.eclipse.jgit.pgm/jgit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.pgm/jgit.sh b/org.eclipse.jgit.pgm/jgit.sh index e26378273..a36922003 100644 --- a/org.eclipse.jgit.pgm/jgit.sh +++ b/org.eclipse.jgit.pgm/jgit.sh @@ -79,7 +79,7 @@ CYGWIN*) Darwin) if [ -e /System/Library/Frameworks/JavaVM.framework ] then - java_args=' + java_args+=' -Dcom.apple.mrj.application.apple.menu.about.name=JGit -Dcom.apple.mrj.application.growbox.intrudes=false -Dapple.laf.useScreenMenuBar=true