worktree: introduce options container
[gitweb.git] / builtin / gc.c
index 44b206acad36393a4158c5e440b1ec5ca4924bc1..5ae95cd46646bca4786e06db932af4fb808217d7 100644 (file)
@@ -85,7 +85,7 @@ static void gc_config(void)
        git_config_get_int("gc.autopacklimit", &gc_auto_pack_limit);
        git_config_get_bool("gc.autodetach", &detach_auto);
        git_config_date_string("gc.pruneexpire", &prune_expire);
-       git_config_date_string("gc.pruneworktreesexpire", &prune_worktrees_expire);
+       git_config_date_string("gc.worktreepruneexpire", &prune_worktrees_expire);
        git_config(git_default_config, NULL);
 }