travis-ci: record and skip successfully built trees
[gitweb.git] / credential-cache.c
index 3c13fe4d6aeda373b46dbe87ebbab224c70501a9..1cccc3a0b9cfb2a14e9c87d5afc29234fa62adc4 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