]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/credential-cache: fix missing parameter for stub function
authorPatrick Steinhardt <ps@pks.im>
Wed, 16 Oct 2024 08:13:15 +0000 (10:13 +0200)
committerTaylor Blau <me@ttaylorr.com>
Wed, 16 Oct 2024 21:00:49 +0000 (17:00 -0400)
commit87ad2a9d56da7a28b5d998c626905a9e42bc2ced
treeea74590afe30e8fd2d03fb72cbf606525b1db853
parentbb0d76dbf7d40827bf378d8c188e4b9fe213b97e
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>
builtin/credential-cache.c