diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-10-16 10:13:15 +0200 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2024-10-16 23:00:49 +0200 |
commit | 87ad2a9d56da7a28b5d998c626905a9e42bc2ced (patch) | |
tree | ea74590afe30e8fd2d03fb72cbf606525b1db853 /builtin/credential-cache.c | |
parent | t7300: work around platform-specific behaviour with long paths on MinGW (diff) | |
download | git-87ad2a9d56da7a28b5d998c626905a9e42bc2ced.tar.xz git-87ad2a9d56da7a28b5d998c626905a9e42bc2ced.zip |
builtin/credential-cache: fix missing parameter for stub function
When not compiling the credential cache we may use a stub function for
`cmd_credential_cache()`. With commit 9b1cb5070f (builtin: add a
repository parameter for builtin functions, 2024-09-13), we have added a
new parameter to all of those top-level `cmd_*()` functions, and did
indeed adapt the non-stubbed-out `cmd_credential_cache()`. But we didn't
adapt the stubbed-out variant, so the code does not compile.
Fix this by adding the missing parameter.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to '')
-rw-r--r-- | builtin/credential-cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/credential-cache.c b/builtin/credential-cache.c index 5de8b9123b..c51f7fc2ad 100644 --- a/builtin/credential-cache.c +++ b/builtin/credential-cache.c @@ -189,7 +189,8 @@ int cmd_credential_cache(int argc, #else -int cmd_credential_cache(int argc, const char **argv, const char *prefix) +int cmd_credential_cache(int argc, const char **argv, const char *prefix, + struct repository *repo UNUSED) { const char * const usage[] = { "git credential-cache [options] <action>", |