diff options
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 38ecd22ba..8ce418ef5 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -414,18 +414,6 @@ ProjectStore::Oplog::AddFileMapping(Oid FileId, IoHash Hash, std::string_view Se return false; } - if (ServerPath[0] == '/' || ClientPath[0] != '/') - { -#if ZEN_PLATFORM_WINDOWS - // This is a special case just to enable tests to use absolute paths. We might want - // to have configuration to control this - if (ServerPath[1] != ':') - { - return false; - } -#endif - } - FileMapEntry Entry; Entry.ServerPath = ServerPath; Entry.ClientPath = ClientPath; |