]> source.dussan.org Git - jgit.git/commit
Checkout now reports failures through exceptions. 92/105592/3
authorNed Twigg <ned.twigg@diffplug.com>
Fri, 18 Mar 2016 09:37:58 +0000 (02:37 -0700)
committerNed Twigg <ned.twigg@diffplug.com>
Sun, 1 Oct 2017 04:07:26 +0000 (00:07 -0400)
commitf333c7496b1352801dddc7dfe488efbcfd2ca4a8
tree36a058769d156afe8004974a14cfa830157d0916
parenta0a8a6a3e48d4f872e92dfed4ee6b40a5a177a42
Checkout now reports failures through exceptions.

Checkout sometimes throws an exception, and
other times it writes an error message to outw
and returns normally, even though the command
failed.  This commit now reports all failures
through a die() exception.

Change-Id: I038a5d976d95020fea3faac68e9178f923c25b28
Signed-off-by: Ned Twigg <ned.twigg@diffplug.com>
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Checkout.java