]> source.dussan.org Git - jgit.git/commitdiff
Merge branch 'stable-1.0' 93/3593/2
authorShawn O. Pearce <spearce@spearce.org>
Tue, 31 May 2011 16:14:50 +0000 (09:14 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 31 May 2011 16:15:11 +0000 (09:15 -0700)
* stable-1.0:
  DHT: Support removing a repository name
  DHT: Fix thread-safety issue in AbstractWriteBuffer
  jgit.sh: Implement pager support
  Change EditList to extend ArrayList
  Ensure the HTTP request is fully consumed
  Make sure test repositories are closed
  Fix CloneCommand not to fetch into remote tracking branches when bare
  Update Eclipse IP log for 1.0

Change-Id: I6340d551482e1dda01f82496296d2038b07fa68b

1  2 
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/GitConstructionTest.java

index 8aacbb063ca988b24f0ca8736fdd8e44dae49b91,4d2b241dcb1c3b1c73f758691cd3fe9aae589dfe..8031769204bb5250e5a3195864baedd876891512
@@@ -72,16 -71,9 +72,17 @@@ public class GitConstructionTest extend
                                .setURI(db.getDirectory().toURI().toString())
                                .setDirectory(createUniqueTestGitDir(true)).call()
                                .getRepository();
+               addRepoToClose(bareRepo);
        }
  
 +      @Override
 +      @After
 +      public void tearDown() throws Exception {
 +              db.close();
 +              bareRepo.close();
 +              super.tearDown();
 +      }
 +
        @Test
        public void testWrap() {
                Git git = Git.wrap(db);