diff options
Diffstat (limited to 'environment.c')
-rw-r--r-- | environment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/environment.c b/environment.c index a0ceb6d655..c94480f92f 100644 --- a/environment.c +++ b/environment.c @@ -333,10 +333,10 @@ static void set_git_dir_1(const char *path) setup_git_env(path); } -static void update_relative_gitdir(const char *UNUSED(name), +static void update_relative_gitdir(const char *name UNUSED, const char *old_cwd, const char *new_cwd, - void *UNUSED(data)) + void *data UNUSED) { char *path = reparent_relative_path(old_cwd, new_cwd, get_git_dir()); struct tmp_objdir *tmp_objdir = tmp_objdir_unapply_primary_odb(); |