summaryrefslogtreecommitdiff
path: root/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'libcore')
-rw-r--r--libcore/skinrepo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcore/skinrepo.c b/libcore/skinrepo.c
index 91f22a9..c6943f9 100644
--- a/libcore/skinrepo.c
+++ b/libcore/skinrepo.c
@@ -32,7 +32,7 @@ void cSkinRepo::Install(string path, string themesPath) {
this->themesPath = themesPath;
if (repoType == rtGit) {
- command = *cString::sprintf("git clone --progress %s %s", url.c_str(), skinPath.c_str());
+ command = *cString::sprintf("git clone --depth=1 --progress %s %s", url.c_str(), skinPath.c_str());
tempfile = *cString::sprintf("gitclone_%s_%ld.out", name.c_str(), time(0));
dsyslog("skindesigner: installing skin from Git, command: %s, logfile: %s", command.c_str(), tempfile.c_str());