diff options
author | Jacek Centkowski <geminica.programs@gmail.com> | 2024-11-11 12:48:20 +0100 |
---|---|---|
committer | Luca Milanesio <luca.milanesio@gmail.com> | 2024-11-20 08:54:33 +0000 |
commit | 592a75800543f83486211b2191707f21695eb955 (patch) | |
tree | bfb58d5bba189554d35c33429494bb9a414e955b /org.eclipse.jgit.http.test | |
parent | f7a4dd03560d10d504f63b9e2caeb32a6bf2cc0b (diff) | |
download | jgit-592a75800543f83486211b2191707f21695eb955.tar.gz jgit-592a75800543f83486211b2191707f21695eb955.zip |
Don't fail when trying to prune pack which is already gone
Update the TestRepository.prunePacked so that it doesn't fail if a pack
to be pruned is already gone.
It is especially handy when the prunePacked function is called in
`TestRepository.packAndPrune` function after the repo moves on after
GC was performed.
Change-Id: I01b4ddbaddec1fdc24cfbb967e0edfe0de6c4b7c
Diffstat (limited to 'org.eclipse.jgit.http.test')
0 files changed, 0 insertions, 0 deletions