Allow jgit command line to show stack trace with --show-stack-trace
commitec8cd2e1367320c06c7aae9025ee9df80eb64467
authorShawn O. Pearce <spearce@spearce.org>
Sun, 27 Apr 2008 22:03:44 +0000 (27 18:03 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:29 +0000 (11 01:16 -0400)
tree90bca65f6446fc73888808f66709472976f9bd88
parent9d161cdc53f7cb1083c39d25a1fedab09e8009ed
Allow jgit command line to show stack trace with --show-stack-trace

We now support a global option --show-stack-trace before the subcommand
name which causes any errors normally caught to be displayed with the
full backtrace, rather than trying to pretty-print it into a human
readable format.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/pgm/Main.java