Skip to content

Commit

Permalink
Updated JGit dependency to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
koraktor committed Jun 28, 2012
1 parent 93815ec commit 4f30076
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ about the Git repository of your project.

## Dependencies

* JGit 1.2.0
* JGit 2.0.0

## Installation

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>1.2.0.201112221803-r</version>
<version>2.0.0.201206130900-r</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testErrors() {
fail("No exception thrown");
} catch(Exception e) {
assertEquals(IOException.class, e.getClass());
assertEquals("Unknown repository format \"null\"; expected \"0\".", e.getMessage());
assertEquals("Unknown repository format \"42\"; expected \"0\".", e.getMessage());
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/broken-project/_git/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[core]
repositoryformatversion = 42

0 comments on commit 4f30076

Please sign in to comment.