Meaningful error message when trying to check-out submodules
commit6e59e6dab963f2ae796a1e331a716fc7f4f9bfdd
authorMathias Kinzler <mathias.kinzler@sap.com>
Wed, 28 Jul 2010 11:58:39 +0000 (28 13:58 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 28 Jul 2010 18:59:07 +0000 (28 11:59 -0700)
tree04f13524ccf898544ae3686cbb5f1807f1f517a0
parent08c0c5d938201f76592b9b623ccd4cbf260b8b82
Meaningful error message when trying to check-out submodules

Currently, a NullPointerException occurs in this case. We should
instead throw a more meaningful Exception with a proper message.
This is a very "stupid" implementation which simply checks for
the existence of a ".gitmodules" file.

Bug: 300731
Bug: 306765
Bug: 308452
Bug: 314853
Change-Id: I155aa340a85cbc5d7d60da31dba199fc30689b67
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/WorkDirCheckout.java