]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/credential-store.c
credential: gate new fields on capability
[thirdparty/git.git] / builtin / credential-store.c
index 4a492411bbf3d2a7f0a34ada0bd127ae97cf5552..494c8093321e1dac30c019d178096efb26050874 100644 (file)
@@ -205,7 +205,7 @@ int cmd_credential_store(int argc, const char **argv, const char *prefix)
        if (!fns.nr)
                die("unable to set up default path; use --file");
 
-       if (credential_read(&c, stdin) < 0)
+       if (credential_read(&c, stdin, CREDENTIAL_OP_HELPER) < 0)
                die("unable to read credential");
 
        if (!strcmp(op, "get"))