mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
105cf3a01b
commit
e8e6fd40e8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ char *get_local_dir(const char *remote, const char *branch)
|
||||||
SHA1_Update(&ctx, branch, strlen(branch));
|
SHA1_Update(&ctx, branch, strlen(branch));
|
||||||
SHA1_Final(hash, &ctx);
|
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(),
|
system_default_directory(),
|
||||||
hash[0], hash[1], hash[2], hash[3],
|
hash[0], hash[1], hash[2], hash[3],
|
||||||
hash[4], hash[5], hash[6], hash[7]);
|
hash[4], hash[5], hash[6], hash[7]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue