summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-10-06 13:10:20 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-06 16:05:01 +0100
commite8e6fd40e8b7eacf39e04c896e1f75c85e09207c (patch)
tree19b7fd00187e2581fcfeb43a385820cf5fb26e7d
parent105cf3a01b82951c9c90a7aff90e68ac50f0517d (diff)
downloadsubsurface-e8e6fd40e8b7eacf39e04c896e1f75c85e09207c.tar.gz
git-access.c: use <userpath>/cloudstorage/ for the cache
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--git-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-access.c b/git-access.c
index d2be2c9d0..607789f98 100644
--- a/git-access.c
+++ b/git-access.c
@@ -109,7 +109,7 @@ char *get_local_dir(const char *remote, const char *branch)
SHA1_Update(&ctx, branch, strlen(branch));
SHA1_Final(hash, &ctx);
- return format_string("%s/%02x%02x%02x%02x%02x%02x%02x%02x",
+ return format_string("%s/cloudstorage/%02x%02x%02x%02x%02x%02x%02x%02x",
system_default_directory(),
hash[0], hash[1], hash[2], hash[3],
hash[4], hash[5], hash[6], hash[7]);