mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:33:27 +00:00
Fix issue with pulling a file identical to an existing file
This commit is contained in:
parent
98007ae64c
commit
f2701568f6
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue