diff options
author | Markus Duft <markus.duft@ssi-schaefer.com> | 2017-12-05 11:16:30 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-03-03 11:44:01 +0100 |
commit | c0103bc59d5b4a539f01bc9c98610ab3f11be114 (patch) | |
tree | 8a1026680532ec1351f3728a340d4ed613a6f826 /org.eclipse.jgit.pgm | |
parent | a3f8edbf6a915ab965039df02abf94b4cca891a5 (diff) | |
download | jgit-c0103bc59d5b4a539f01bc9c98610ab3f11be114.tar.gz jgit-c0103bc59d5b4a539f01bc9c98610ab3f11be114.zip |
LFS: Enable LFS support for the CLI, better error handling
Enable LFS support for the CLI by registering the according filters.
Errors during filter creation must be propagated up the call stack, as a
failure to create a filter should be treated as fatal if the filter is
required.
Change-Id: I3833757839bdda97cd01b6c21c1613d199e2692d
Signed-off-by: Markus Duft <markus.duft@ssi-schaefer.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java index 189a5acbf3..a376bc098d 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java @@ -132,6 +132,9 @@ public class Main { * @throws java.lang.Exception */ public static void main(final String[] argv) throws Exception { + // make sure built-in filters are registered + BuiltinLFS.register(); + new Main().run(argv); } |