]> source.dussan.org Git - jgit.git/commit
Fix possible InvalidObjectIdException in ObjectDirectory 78/88378/4
authorMarc Strapetz <marc.strapetz@syntevo.com>
Tue, 10 Jan 2017 15:28:54 +0000 (16:28 +0100)
committerMarc Strapetz <marc.strapetz@syntevo.com>
Sun, 15 Jan 2017 14:05:51 +0000 (15:05 +0100)
commit1c4b3f8c45fe2bbcc0ea6aa9ffee107312b37310
tree19c28b9630d1e6f91542a17b155bb6a31ad36f21
parentd3148f9410b071edd4a4c85d2a43d1fa2574b0d2
Fix possible InvalidObjectIdException in ObjectDirectory

ObjectDirectory.getShallowCommits should throw an IOException
instead of an InvalidArgumentException if invalid SHAs are present
in .git/shallow (as this file is usually edited by a human).

Change-Id: Ia3a39d38f7aec4282109c7698438f0795fbec905
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/ObjectDirectoryTest.java
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java