]> source.dussan.org Git - jgit.git/commit
Fix keep pack filename 76/87776/1
authorJames Melvin <jmelvin@codeaurora.org>
Tue, 27 Dec 2016 21:08:56 +0000 (14:08 -0700)
committerJames Melvin <jmelvin@codeaurora.org>
Tue, 27 Dec 2016 21:08:56 +0000 (14:08 -0700)
commitd980a3fa85d7f9608f33e8c926c7a7d15f607725
tree2435887c1c16125386e83941c4437ba9593e7c58
parent5fee071f6a895cdf5797344fb562a075bae5872d
Fix keep pack filename

Previously it was looking for a keep file with the name of a pack file
(extenstion included) appended with a '.keep'. However, the keep file
name should be the pack file name  with a '.keep' extension

Change-Id: I9dc4c7c393ae20aefa0b9507df8df83610ce4d42
Signed-off-by: James Melvin <jmelvin@codeaurora.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcKeepFilesTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java