From f8883aab64f4f3d0e1a7dc8f124c8fa4eecd74c1 Mon Sep 17 00:00:00 2001 From: Bouncner Date: Mon, 22 Jun 2020 12:30:12 +0200 Subject: [PATCH] Shallow clone for third party module nlohmann (#2172) Our third party module nlohmann_json has recently deleted its test files and shrunk from ~260 MB to ~20 MB. This PR uses the shallow submodule flag to only pull the most recent version. --- .gitmodules | 1 + third_party/nlohmann_json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 4a8526dadb..ca45ee24ec 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,6 +37,7 @@ [submodule "third_party/nlohmann_json"] path = third_party/nlohmann_json url = https://github.com/nlohmann/json.git + shallow = true [submodule "third_party/sql-parser"] path = third_party/sql-parser url = https://github.com/hyrise/sql-parser diff --git a/third_party/nlohmann_json b/third_party/nlohmann_json index 0245ae5157..fbec662afa 160000 --- a/third_party/nlohmann_json +++ b/third_party/nlohmann_json @@ -1 +1 @@ -Subproject commit 0245ae51575ec64f64f1c6d50e533a123e8fcd0d +Subproject commit fbec662afab55019654e471b65a846a47a696722