git: update to v2.42.0

Update to git version v2.42.0, this requires changes for these
upstream commits:

* bc5c5ec0446895f5c4139cd470066beb3c4ac6d5
  cache.h: remove this no-longer-used header

* aba070683295a20bdf4f49146384984961c794b2
  path: move related function to path

* a4e7e317f8f27f861321e6eb08b9c8c0f3ab570c
  config: add ctx arg to config_fn_t

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2023-08-09 01:45:58 +02:00
parent a6da40bf84
commit 2f50b47c72
4 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ static void scan_tree_repo_config(const char *name, const char *value)
config_fn(repo, name, value);
}
static int gitconfig_config(const char *key, const char *value, void *cb)
static int gitconfig_config(const char *key, const char *value, const struct config_context *, void *cb)
{
const char *name;