]> source.dussan.org Git - jgit.git/commit
pgm: Handle exceptions in Config command 08/135308/2
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 17 Jan 2019 23:15:32 +0000 (00:15 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 20 Jan 2019 00:43:19 +0000 (01:43 +0100)
commitd789c9adabbd6004e687c5d9b54d84376a8f557a
treea74fff2ad1b62878cd21f76cc028638652ca12e8
parent518f420fe60bf0001352cdecd30309c02c90fc2f
pgm: Handle exceptions in Config command

This avoids we show a stacktrace on the console by default when this
type of exception is thrown during the run method is executed. Also
externalize error message.

Change-Id: I909dc77385a672d8298053b12683c0cbbf9f2aa2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Config.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/internal/CLIText.java