Skip to content

LemonTree.Starter

LemonTree implements LemonTree.Starter to facilitate an improved integration of LemonTree into various version control systems.

LemonTree.Starter is built to solve two major problems encountered when integrating LemonTree into a version control system:

  • Configuring LemonTree as a mergetool in a Git LFS environment
  • Configuring LemonTree to only diff/merge specific file extensions
  • set up your .gitconfig according to this help page: Direct Git Integration

Configuring LemonTree to only diff/merge specific file extensions

When configuring your .gitconfig according to this help page: Direct Git Integration, you will notice that there's a warning that this will assign LemonTree as a diff/merge tool for all types of extensions. The reasoning for this is that, to our knowledge, there is no possibility to set up a merge tool for only specific extensions in the .gitconfig.

Now, setting up a general-purpose mergetool that can deal with any type of file this way would be fine of course. However, since LemonTree is a mergetool for very specific type of files, this kind of hook catches way more than it should.

To solve this problem, LemonTree.Starter can be configured to only process specific file extensions:

  • open up a command prompt
  • start the lemontree starter command line tool with the paramater "config", like so:

    C:\Program Files\LieberLieber\LemonTree>LemonTree.Starter.exe config
    
  • The on-screen help will help you configure the LemonTree Starter so it only reacts to specific file extensions