]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/credential-cache.c
Merge branch 'bc/credential-scheme-enhancement'
[thirdparty/git.git] / builtin / credential-cache.c
index f5c989e2b21141e87cb483a52e1ca6ff9400af9c..3db8df70a9b263c39bf4f8a295d4fad6fc59531c 100644 (file)
@@ -157,6 +157,9 @@ int cmd_credential_cache(int argc, const char **argv, const char *prefix)
                usage_with_options(usage, options);
        op = argv[0];
 
+       if (!have_unix_sockets())
+               die(_("credential-cache unavailable; no unix socket support"));
+
        if (!socket_path)
                socket_path = get_socket_path();
        if (!socket_path)