shallow: convert shallow registration functions to object_id
[gitweb.git] / credential-cache.c
index 3cbd4200190dd9d8378f5a111883de026b06e47d..91550bfb0b3325ad92a3f3c65d5f779b61fa9951 100644 (file)
@@ -87,7 +87,7 @@ static char *get_socket_path(void)
 {
        struct stat sb;
        char *old_dir, *socket;
-       old_dir = expand_user_path("~/.git-credential-cache");
+       old_dir = expand_user_path("~/.git-credential-cache", 0);
        if (old_dir && !stat(old_dir, &sb) && S_ISDIR(sb.st_mode))
                socket = xstrfmt("%s/socket", old_dir);
        else