Allow jgit to load additional user classes
Users may want to develop their own custom programs (implementations
of TextBuiltin) and add them into the jgit runtime for command line
usage. We now load additional classes from $JGIT_CLASSPATH, if it
was defined when the process started.
To avoid users replacing our own internal commands or classes we
put the user classpath behind our own, ensuring all of our standard
classes and resources are found first.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>