]> source.dussan.org Git - jgit.git/commit
Revert "Close unfinished archive entries on error" 10/16710/1
authorJonathan Nieder <jrn@google.com>
Tue, 24 Sep 2013 00:35:15 +0000 (17:35 -0700)
committerJonathan Nieder <jrn@google.com>
Tue, 24 Sep 2013 00:35:15 +0000 (17:35 -0700)
commit3467e865acac2f923b5d24b2084ae8a8a1f1e7ba
tree2ee4f2203a2fe03887f7ac74dcbab15b710b3c2d
parent8a51c4453df0015ee0b77076ffb34eecdfcc7ec6
Revert "Close unfinished archive entries on error"

This reverts commit 75d9b31f14d6226a535a80c05cffda29e55d2ceb.
Now that we do not try to close the ArchiveOutputStream in the error
path, there is no need to artificially close partial entries from
before the error.

Change-Id: I1f1cb08ec4e9b14c79bf4621f3fa959463034b82
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java