From 64c4982f41bd3b0c4b76718a6b1650a9c62b7c26 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 9 May 2019 12:41:37 +0200 Subject: [PATCH] Remove problematic git submodule option --recommend-shallow seems to nos be effective, and even causing problems with older git versions --- libretroshare/src/libretroshare.pro | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libretroshare/src/libretroshare.pro b/libretroshare/src/libretroshare.pro index 2edf80f0e..c7aff0cfb 100644 --- a/libretroshare/src/libretroshare.pro +++ b/libretroshare/src/libretroshare.pro @@ -846,11 +846,11 @@ rs_jsonapi { genrestbedlib.variable_out = PRE_TARGETDEPS genrestbedlib.commands = \ cd $${RS_SRC_PATH} && ( \ - git submodule update --init --recommend-shallow supportlibs/restbed ; \ + git submodule update --init supportlibs/restbed ; \ cd $${RESTBED_SRC_PATH} ; \ - git submodule update --init --recommend-shallow dependency/asio ; \ - git submodule update --init --recommend-shallow dependency/catch ; \ - git submodule update --init --recommend-shallow dependency/kashmir ; \ + git submodule update --init dependency/asio ; \ + git submodule update --init dependency/catch ; \ + git submodule update --init dependency/kashmir ; \ true ) && \ mkdir -p $${RESTBED_BUILD_PATH} && cd $${RESTBED_BUILD_PATH} && \ cmake \ @@ -919,7 +919,7 @@ rs_broadcast_discovery { udpdiscoverycpplib.variable_out = PRE_TARGETDEPS udpdiscoverycpplib.commands = \ cd $${RS_SRC_PATH} && ( \ - git submodule update --init --recommend-shallow supportlibs/udp-discovery-cpp || \ + git submodule update --init supportlibs/udp-discovery-cpp || \ true ) && \ mkdir -p $${UDP_DISCOVERY_BUILD_PATH} && \ cd $${UDP_DISCOVERY_BUILD_PATH} && \