summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-02-09 21:44:57 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2021-02-09 21:44:57 +0100
commitb426b1408d8c6b6bd17a7dc8c8a307ed891f481b (patch)
treee07770d9619cc83358ccb3f75d4950bf249ff18d /src
parentd13761f107685fdb65114d9857b57cfdf008ed46 (diff)
Storage: drop superfluous directory creation
Diffstat (limited to 'src')
-rw-r--r--src/storage.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/storage.cpp b/src/storage.cpp
index 63d3fd3..607d71a 100644
--- a/src/storage.cpp
+++ b/src/storage.cpp
@@ -41,10 +41,6 @@ using std::to_string;
FilesystemStorage::FilesystemStorage(const fs::path & path):
root(path)
{
- fs::create_directories(path/"blake2"/"objects");
-
- if (!fs::is_directory(path/"heads"))
- fs::create_directory(path/"heads");
}
FilesystemStorage::~FilesystemStorage()