Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Windows: the global file is bin\smartgit.vmoptions in SmartGit's installation directory
  • Linux: the global file is bin/smartgit.vmoptions in SmartGit's installation directory
  • Mac: the global file is Contents/MacOS/smartgit.vmoptions in SmartGit's installation directory SmartGit.app

The smartgit.vmoptions file contains a list of additional VM options which should be passed to the Java VM. VM options are basically arguments to Java and every argument must be declared on a separate line.

Panel
titleExample
Code Block
-Xmx2048M
-Xms1024M

Location of the Settings Directory
Anchor
settings-dir.change-location
settings-dir.change-location

...

On Linux and Mac OS X, you can extend the PATH used by SmartGit (and all processes invoked by SmartGit, especially Git itself) by adding path=/additional/path to smartgit.vmoptions. This path= lines can be used multiple times and will be appended to the PATH in the order of occurrence.

Panel
titleExample

To add make the directory file /optusr/local/bin/git-lfs to the PATH accessible without full path specification, add following line to smartgit.vmoptions:

path=/opt/git-lfsusr/local/bin

Warning

Do not specify the file path, but its parent directory's path - as for all usual path modifications!