mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
Fix issue with pulling a file identical to an existing file
This commit is contained in:
@@ -38,7 +38,7 @@ public class ResourceFetcher {
|
||||
Util.sout("At (" + projectName + "): " + path);
|
||||
contents = new RepositoryObjectTreeWalker(repository).getDirectoryContents().getFileTable().get(path).getContents();
|
||||
}
|
||||
return new RepositoryFile(path, contents);
|
||||
return new RepositoryFile(newPath, contents);
|
||||
}
|
||||
|
||||
private byte[] fetch(String projectName, final String url, String path) throws FailedConnectionException {
|
||||
|
||||
Reference in New Issue
Block a user