]> source.dussan.org Git - jgit.git/commit
Add close() method to API 60/18560/4
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 19 Nov 2013 11:44:19 +0000 (12:44 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 19 Nov 2013 23:16:39 +0000 (00:16 +0100)
commit7dce16018e05c0a094b3eb20009e0438764f046e
treecec6ee0316c0d389f41ec944419f2db6500cb439
parent3cf2a8542af2373c1f249d05bc97c4d0abc0bcf8
Add close() method to API

The API in org.eclipse.jgit.api does allow to open repositories but it
did not allow to close them. This commit fixes this and allows
API users to close a repository without having to use lower-level
classes.

Bug: 420502
Change-Id: I866225cc8534ae5916113fa24eb1c7513fd4472e
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/Git.java