diff options
author | James Yonan <james@openvpn.net> | 2013-09-25 12:24:16 -0600 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2014-02-13 18:58:03 -0500 |
commit | 7bb7299e8a815ac7884f429e3bc710e0c27c121c (patch) | |
tree | 7bc45ad9126d1890c14c81feef55ca34bb17eed9 /org.eclipse.jgit.console | |
parent | 48e36d8cb335382b99ec829d0dfe34be71ed49bb (diff) | |
download | jgit-7bb7299e8a815ac7884f429e3bc710e0c27c121c.tar.gz jgit-7bb7299e8a815ac7884f429e3bc710e0c27c121c.zip |
Fix a NullPointerException if properties file doesn't exist
For example with following URL,
amazon-s3://.jgit@mybucket/foo.git
if ~/.jgit is missing, jgit command will throw a NullPointerException.
With this patch, a reasonable error message will be emitted:
fatal: Cannot read file /Users/jamesyonan/.jgit
Change-Id: I1d366f2d55e170d2972715c657c8e2d10c8d87d2
Signed-off-by: James Yonan <james@openvpn.net>
Diffstat (limited to 'org.eclipse.jgit.console')
0 files changed, 0 insertions, 0 deletions