Skip to content

Commit 076a9a6

Browse files
committed
Make sure to list versions regardless of defaults override.
1 parent b36530b commit 076a9a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

googlestorage/src/main/java/ch/cyberduck/core/googlestorage/GoogleStorageVersioningFeature.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import ch.cyberduck.core.exception.BackgroundException;
2929
import ch.cyberduck.core.features.Versioning;
3030
import ch.cyberduck.core.io.DisabledStreamListener;
31+
import ch.cyberduck.core.preferences.HostPreferences;
3132
import ch.cyberduck.core.transfer.TransferStatus;
3233

3334
import org.apache.logging.log4j.LogManager;
@@ -109,7 +110,8 @@ public AttributedList<Path> list(final Path file, final ListProgressListener lis
109110
if(file.isDirectory()) {
110111
return AttributedList.emptyList();
111112
}
112-
return new GoogleStorageObjectListService(session).list(file, listener).filter(new NullFilter<Path>() {
113+
return new GoogleStorageObjectListService(session).list(file, listener, String.valueOf(Path.DELIMITER),
114+
new HostPreferences(session.getHost()).getInteger("googlestorage.listing.chunksize"), new VersioningConfiguration(true)).filter(new NullFilter<Path>() {
113115
@Override
114116
public boolean accept(final Path file) {
115117
return file.attributes().isDuplicate();

0 commit comments

Comments
 (0)