From 4ab06388adcf5fc9a5405c8bb80dda8f5cdaa421 Mon Sep 17 00:00:00 2001 From: Thomas Meyer Date: Fri, 22 Jul 2016 07:51:50 +0200 Subject: [PATCH] TransportBundleFile: Resolve remote repository locally Remove the assumption that the local repository is a file based one. Change-Id: I8f10fe7a54e9fc07f2a23d7901e52b65aa570d45 Signed-off-by: Thomas Meyer Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/transport/TransportBundleFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportBundleFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportBundleFile.java index bbc0d0aa73..9b0834133b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportBundleFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportBundleFile.java @@ -94,7 +94,7 @@ class TransportBundleFile extends Transport implements TransportBundle { public Transport open(URIish uri, Repository local, String remoteName) throws NotSupportedException, TransportException { if ("bundle".equals(uri.getScheme())) { //$NON-NLS-1$ - File path = local.getFS().resolve(new File("."), uri.getPath()); //$NON-NLS-1$ + File path = FS.DETECTED.resolve(new File("."), uri.getPath()); //$NON-NLS-1$ return new TransportBundleFile(local, uri, path); } -- 2.39.5